简单又实用,看不懂请打死我 摘要:解题思路:用排序函数sort对输入的数据进行排序,使用降重函数unique对输入的数据进行降重并输出注意事项:使用sort和unique前添加头文件#include<algorithm>参考代码:#i…… 题解列表 2023年04月24日 0 点赞 0 评论 427 浏览 评分:9.9
编写题解 1098: 陶陶摘苹果 摘要:解题思路:这个程序首先使用 Scanner 类读取输入数据。在读取10个苹果的高度时,我们使用一个整型数组来存储它们。在读取陶陶能够伸手的最大高度时,我们直接使用一个整数来存储它。接下来,程序使用一个…… 题解列表 2023年04月24日 0 点赞 0 评论 678 浏览 评分:9.9
编写题解 2824: 求出e的值 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanne…… 题解列表 2023年04月24日 0 点赞 0 评论 498 浏览 评分:0.0
刷題記錄,新手勿怪-带注解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct transcript{ char student_num[20]; char name[20]; int grade[3]…… 题解列表 2023年04月24日 0 点赞 0 评论 396 浏览 评分:0.0
java单词倒排 摘要:解题思路:注意事项:参考代码:package eleven;import java.util.Scanner;public class 单词倒排 { public static void mai…… 题解列表 2023年04月24日 0 点赞 0 评论 421 浏览 评分:9.9
1004题: 母牛生子的故事 摘要:# 自己写的代码 ```c #include int main() { int n; int sum=0; while(~scanf("%d\n",&n)){ …… 题解列表 2023年04月24日 0 点赞 0 评论 376 浏览 评分:0.0
石头剪刀布 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<math.h>int main(){ int N,…… 题解列表 2023年04月24日 0 点赞 1 评论 496 浏览 评分:9.9
1003题: 密码破译 摘要:# 自己写的代码: ```c #include #include int main() { char a[5]; //刚开始写的时候没有定义括号里的数字 for(int…… 题解列表 2023年04月24日 0 点赞 0 评论 391 浏览 评分:0.0
链表删除练习-链表基础函数(有详细注释) 摘要:```c #include #include #include typedef struct Node { int date; struct Node* next; }NODE; …… 题解列表 2023年04月24日 1 点赞 0 评论 848 浏览 评分:9.9
1002题: 求出三个输入数中的最大值,并返回该值 摘要:# 自己写的代码: ```c #include int main() { int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a>b){…… 题解列表 2023年04月24日 0 点赞 0 评论 415 浏览 评分:0.0