题解列表

筛选

1008: [编程入门]成绩评定

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

1010: [编程入门]利润计算

摘要:解题思路:利用case进行累加注意事项:每次累加后,利润profit更新为被减数参考代码:#include <stdio.h>int main(){ int profit; //当月利润 int bo……

1013: [编程入门]Sn的公式求和

摘要:解题思路:注意事项:参考代码:#include <stdio.h>//求Sn=a+aa+aaa+…+aa…aaa(有n个a)之值,其中a是一个数字,为2。 例如,n=5时=2+22+222+2222+……