题解列表

筛选

1005: [编程入门]温度转换

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    float F,c;    scanf("%f",&F);    c=5*(F-32)/9;    pri……

2865: 紧急措施(结构体+函数解法)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>// 函数arr用于将字符串中的大写字母转换为小写字母,小写字母转……

最简单易懂的解法{1019}

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    double M,N,h=0,H=0;    scanf("%lf%lf",&M,&N);    for……

如何用C语言结构体解决谁拿了最多奖学金

摘要:解题思路:用结构体代表学生的信息,通过函数得到每个学生的奖学金,在进行对比。注意事项:认真即可参考代码:#include <stdio.h>//定义结构体,totalbons是每个学生的奖学金。str……

C++2784开瓶盖赢大奖题解

摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){    int a;cin >>a;    if (a>=10||a>=20)    {  ……