题解列表

筛选

【亲和数】 (Java代码)

摘要:解题思路:    1.用变量保存输入的两个数字     2.取出其中一个数字,从1开始到这个数字循环取模,如果能够整除就累加    3.如果累加的结果正好等于另一个数字,就可以输出 YES    4.……

成绩等级转换 (C++代码)

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>#include <iomanip>using namespace std;int main ()……

判断第几天 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <string.h>#include<stdio.h>#include <math.h>int data[13] = { 0,31,28,31,30,3……