题解列表

筛选

输入输出练习之第二个数字(小白易懂版)

摘要:解题思路:这道题还是很简单的了,从main函数开始,定义变量,最后再输入输出就好了。注意事项:在输入的格式中,“%d %d %d"中的格式中间有两个空格,用键盘敲入的时候,输入的数字中间也要有空格,不……

统计字符.....

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

P1000......21888545

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

以后可以回头看看

摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h>int main(){  double x,y,d;     while(scanf("%lf%lf"……

链表之报数问题 python解法

摘要:解题思路:注意事项:参考代码:n = int(input())ls = [0] * nj = 1; p = 0for i in range(n-1):#让9个人出局    while j < 3:  ……

有规律的数列求和

摘要:解题思路:注意事项:参考代码:public static void main(String[] args) { Scanner sc=new Scanner(System.in); int num……