题解列表

筛选

P1027 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int r,c; scanf("%d %d", &r, &c); int a[r][c], i, j, su……

【亲和数】 (C++代码)

摘要:解题思路:定义一个判断亲和数的函数注意事项:参考代码:#include<iostream>using namespace std;bool qinhe(int a, int b){ int s1 = ……

回文串 (Java代码)

摘要:解题思路:1.将字符串变成字符数组     2.外面写一个if else来判断字符数组的个数,偶数进入if 奇数进入else      3.两个里面只要满足前后对应位置的字符相同,num++。否则输出……

C语言训练-计算1977!* (C++代码)

摘要:解题思路:千万不要看这个啊,这是错误的解题思路注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout << "44885501……

简单的a+b (C语言代码)

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