题解列表

筛选

1118: Tom数 C++

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

C语言训练-亲密数

摘要:解题思路: 哈希注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; const int N = 3e3 + 10;……

C语言训练-委派任务*

摘要:解题思路:深搜递归注意事项:参考代码:#include<iostream> #include<cstdio> #include<cstring> using namespace std; co……

C语言训练-尼科彻斯定理

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

C语言训练-求PI*

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int N = 1e2 + 10……

淘淘摘苹果

摘要:解题思路:注意事项:参考代码:apple=list(map(int,input().split()))high=eval(input())high_all=high+30n=0for i in ran……

C语言训练-求素数问题:线性筛

摘要:解题思路: 欧拉筛注意事项:数组范围要大于数据范围参考代码:#include<iostream> #include<cmath> using namespace std; const int N……