题解列表

筛选

津津的储蓄计划(python版)

摘要:解题思路:注意事项:参考代码:def progress(x,y):    if x<y:        return -1    else:        less=x-y        return……

C语言训练-自由落体问题

摘要:解题思路:第一次从100落下, 因此为保持运算一致, 初始距离为-100注意事项:参考代码:#include<iostream> #include<cmath> #include<string> ……

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……