编写题解 2761: Hello, World!的大小 摘要: s="Hello, World!" print(len(s)+1) #原题为C语言题目,故结果+1,系统才会判定正确 原题为C语言题目,故结果+1,系统才会判定正确…… 题解列表 2024年02月22日 0 点赞 0 评论 706 浏览 评分:9.9
输出最高分数的学生姓名C解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char s[100][21]; int n,a[100],i,max=0,p; scanf(…… 题解列表 2024年02月22日 0 点赞 0 评论 400 浏览 评分:9.9
Jayden-[解释通俗易懂,一看就会! ] 完数的判断 摘要:解题思路: 1、首先我们要明白什么是完数?完数就是一个数如果恰好等于不包含它本身所有因子之和,而这些因子都能被这个数整除。例如6 = 1 + 2 + 3,其中1、2、3都能被6整除,因此完数6…… 题解列表 2024年02月22日 0 点赞 1 评论 316 浏览 评分:9.9
编写题解 2908: 白细胞计数 摘要:解题思路:1,输入;2,冒泡排序;3,除去第一个最后一个累加求平均值;4,原数据(除去第一个最后一个)与平均值作差;5,输出。注意事项:参考代码:#include <stdio.h>int main(…… 题解列表 2024年02月22日 0 点赞 0 评论 525 浏览 评分:9.9
JAVA的动态规划解法 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args) …… 题解列表 2024年02月22日 0 点赞 0 评论 458 浏览 评分:9.9
malloc函数的使用 摘要:解题思路:注意事项:注意输入n后直接换行会被scanf吞掉,因此需要加一个getchar(),输入完字符串输入m时同理。参考代码:#include<stdio.h>#include<stdlib.h>…… 题解列表 2024年02月23日 0 点赞 0 评论 372 浏览 评分:9.9
结构体的使用 摘要:解题思路:注意事项:参考代码:#include <stdio.h>// 定义日期结构体struct Date { int year; int month; int day;};// 判断是否为闰年in…… 题解列表 2024年02月23日 0 点赞 0 评论 275 浏览 评分:9.9
没有写input和print函数 摘要:解题思路:注意事项:参考代码:#include#includetypedef struct { char name[10]; char number[10]; int grade[3…… 题解列表 2024年02月23日 0 点赞 0 评论 333 浏览 评分:9.9
编写一个程序,输入a,b,c三个值,输出其中最大值。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;scanf("%d%d%d",&a,&b,&c); if(a<c&&b<c){ …… 题解列表 2024年02月23日 0 点赞 0 评论 314 浏览 评分:9.9
类似1050题可解 摘要:解题思路:注意事项:部分地方还可以更精简参考代码:#include <stdio.h>#include <stdlib.h>typedef struct { char name[10]; char n…… 题解列表 2024年02月23日 0 点赞 0 评论 292 浏览 评分:9.9