题解列表

筛选

C语言训练-自守数问题

摘要:解题思路:字符串注意事项:数位与空格参考代码:#include<iostream> #include<cmath> #include<string> using namespace std; ……

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

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

淘淘摘苹果

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

C语言训练-求PI*

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

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

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