题解列表

筛选

1162: 密码(遍历)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int m,cnt = 0; string s, ……

1161: 回文数(高精度)

摘要:解题思路: 高精度求和注意事项:参考代码:#include<iostream> using namespace std; const int N = 1e3 + 10; int a[N],b[N……

2914: 铺地毯

摘要:解题思路:注意事项:参考代码:#include <stdlib.h> #include <stdio.h> #include <iostream> #include <string.h> us……

1160: 出圈 (vector , 公式法)

摘要:解题思路:Vector注意事项:删除元素的位置在末尾的时候,需要注意初始化为0参考代码:#include#include  using namespace std; int main() { ……

1159: 偶数求和

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n, m; while(cin >> n ……

1157: 亲和数(C++)

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

C语言训练-阶乘和数*

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int N = 10; int a[N]; int main() {……

2880: 计算鞍点

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long a[100][100],n,sum=0;int main(){……

编写题解 2945: 素数对

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int s(int n){ if(n==1) return 0; for(int ……

1796: 蛇形填数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int j;    int a[100][100] ……