题解列表

筛选

好写》好写

摘要:参考代码:#include<stdio.h> int res[50] = {0, 1}; int main() { int n; scanf("%d", &n); int add =……

好写》好写

摘要:参考代码:#include<stdio.h> #include<string.h>   char s1[201], s2[201]; int a[201], b[201], c[201]; ……

参考一位前辈的

摘要:参考代码:#include<stdio.h> #include<string.h> char s1[201], s2[201]; int a[201], b[201], c[201]; i……

数字反转 2819:

摘要:解题思路:#include <iostream>using namespace std;int main(){    long long n, s=0;    cin>>n;    while(n) ……

分离整数的各个数位 2818

摘要:解题思路:#include <iostream>using namespace std;int main(){    long long n;    cin>>n;    while(n)    { ……

用数组很简单

摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#pragma warning(disable:6031)#include<stdio.h>int main……