题解列表

筛选

求和训练,1015

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a, b, c, i;    int sum = 0, pows=0;    float sums……

最简单易懂输出

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c; scanf("%d %d %d", &a, &b, &c); printf("%d",……

分段函数求值,1007

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int x, y; scanf("%d", &x); if (x < 1) { y = x; pri……

最简单温度转换

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

三个数最大值,1002

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int a, b, c,max; scanf("%d %d %d", &a, &b, &c); max ……

最简单易懂密码破译

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c1, c2, c3, c4, c5; scanf("%c%c%c%c%c",&c1,&c2,&c3,……

输出练习之精度控制3

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ char ch; int num; float f; double d; scanf("%c %d %f……

温度转换,1005

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

密码破译,1003

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ char c1, c2, c3, c4, c5; scanf("%c%c%c%c%c", &c1, &c……