题解列表

筛选

题解 1866: 三位数反转(C代码)

摘要:解题思路:注意审题,输出3个整数(看着是n的倒叙数,但是并不是,而是3个整数挨着)注意事项:加题干中的判断条件,注意只要输入有效就可以一直输出,而不是只能输入一次用while (~scanf("%d"……

题解 2853字符替换

摘要:解题思路:注意事项:要看输入格式要求,一口气输入就要一口气输入 字符串和字符的输入输出方式参考代码:#include<stdio.h>#include<string.h>int main(){    ……

题解 2773: 计算线段长度--C

摘要:解题思路:double注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){    double x1, y1, x2, y2;    doub……

奥运奖牌计数,加油

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

123123sfaasfsfa

摘要:#include<stdio.h> #include<stdlib.h> typedef struct Node{     int data;     struct Node* next; ……