题解列表

筛选

编写题解 2042: 杨辉三角

摘要:解题思路:注意事项:参考代码:m,n=map(int,input().split()) if m<=0:     pass else:          ls=[[1]]     for ……

没毛病吧?、老铁

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

编写题解 2052: 整除问题

摘要:解题思路:注意事项:参考代码:n=int(input()) s = 0 for i in range(2,n//2+1):     if n%i==0:         s += 1  pr……

编写题解 2065: [STL训练]{A} + {B}

摘要:解题思路:注意事项:参考代码:while True:     try:         n,m=map(int,input().split())         r=list(map(int,i……

尝除法求约数

摘要:```cpp #include using namespace std; void check(int n){ vectora; for(int i = 1; i n; c……

辗转相除法

摘要:```cpp #include using namespace std; int gcd(int a, int b){ return b ? gcd(b, a % b) : a; ……