题解列表

筛选

1014题: 阶乘求和

摘要:# 自己写的代码 ```c #include int main() { int n,an,sn=0; scanf("%d",&n); for(int i=1;i=1;j--){ ……

1015题: 求和训练

摘要:# 自己写的代码 ```c #include int main() { float a,b,c; float an=0.00,bn=0.00,cn=0.00; scanf("%f ……

1016题:水仙花数判断

摘要:# 自己写的代码 ```c #include int main() { int i; for(i=0;i99){ if((((i/100)*(i/100)*(i/1……

1017题: 完数的判断

摘要:# 自己写的代码 ```c #include int main(){ int n; scanf("%d",&n); for(int i=1;i……

1018题: 有规律的数列求和

摘要:# 自己写的代码 没有写出来,不会写 # 思路难点 想着两个循环嵌套使用,但是不会表达 # 参考代码 ```c #include int main(){ double Sn=0……

题目 1850: 判断第几天

摘要:解题思路: for循环+switch足以解这道题注意事项:1.2月的闰月要判断 2.循环的条件  int i = 1; i < m; i++ 不能等于m不然会多加一个月份的天数 3. sum在每一次输……

1098: 陶陶摘苹果

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>using names……

二级C语言-统计字符

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() {     int zimu=0,num=0,kon=0,oth=0;     char c;    ……