输出最高分数的学生姓名C解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char s[100][21]; int n,a[100],i,max=0,p; scanf(…… 题解列表 2024年02月22日 0 点赞 0 评论 353 浏览 评分:9.9
Jayden-[解释通俗易懂,一看就会! ] 完数的判断 摘要:解题思路: 1、首先我们要明白什么是完数?完数就是一个数如果恰好等于不包含它本身所有因子之和,而这些因子都能被这个数整除。例如6 = 1 + 2 + 3,其中1、2、3都能被6整除,因此完数6…… 题解列表 2024年02月22日 0 点赞 1 评论 257 浏览 评分:9.9
编写题解 2908: 白细胞计数 摘要:解题思路:1,输入;2,冒泡排序;3,除去第一个最后一个累加求平均值;4,原数据(除去第一个最后一个)与平均值作差;5,输出。注意事项:参考代码:#include <stdio.h>int main(…… 题解列表 2024年02月22日 0 点赞 0 评论 464 浏览 评分:9.9
JAVA的动态规划解法 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args) …… 题解列表 2024年02月22日 0 点赞 0 评论 409 浏览 评分:9.9
malloc函数的使用 摘要:解题思路:注意事项:注意输入n后直接换行会被scanf吞掉,因此需要加一个getchar(),输入完字符串输入m时同理。参考代码:#include<stdio.h>#include<stdlib.h>…… 题解列表 2024年02月23日 0 点赞 0 评论 330 浏览 评分:9.9
结构体的使用 摘要:解题思路:注意事项:参考代码:#include <stdio.h>// 定义日期结构体struct Date { int year; int month; int day;};// 判断是否为闰年in…… 题解列表 2024年02月23日 0 点赞 0 评论 239 浏览 评分:9.9
没有写input和print函数 摘要:解题思路:注意事项:参考代码:#include#includetypedef struct { char name[10]; char number[10]; int grade[3…… 题解列表 2024年02月23日 0 点赞 0 评论 281 浏览 评分: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 评论 265 浏览 评分:9.9
类似1050题可解 摘要:解题思路:注意事项:部分地方还可以更精简参考代码:#include <stdio.h>#include <stdlib.h>typedef struct { char name[10]; char n…… 题解列表 2024年02月23日 0 点赞 0 评论 249 浏览 评分:9.9
家人们,这个题解超简单! 摘要:解题思路:将金银铜分别输入三次即可,并先输入比了多少天即可。注意事项:不能把a,b,c的输入写在外面。参考代码:#include <bits/stdc++.h>using namespace std;…… 题解列表 2024年02月23日 0 点赞 1 评论 241 浏览 评分:9.9