题解列表

筛选

我觉得是最简单的

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    int a = 1, b = 2, c;    double sum = 0.0;    scanf("……

题解 2879: 错误探测

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a;    int b[100][100];    int c=0;    int d=0;   ……

三个数字的排序(三目运算符)

摘要:解题思路:三目运算符注意事项:中间值比较绕,多仔细思考,但最大最小值这个三目运算符易懂参考代码:#include<stdio.h>int main(){    int a,b,c;    scanf(……

输入绝对值

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float f; scanf("%f",&f); printf("%.2f",f > 0 ? (f) : (-……