题解列表

筛选

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

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

编写题解 2052: 整除问题

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

没毛病吧?、老铁

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

编写题解 2042: 杨辉三角

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

充分利用有序

摘要:解题思路:有序的条件是解题的主线注意事项:参考代码:#include<stdio.h>int main(){ int a, i = 0, m = 0, k = 0, t = 0; scanf("%d"……

蓝桥杯算法提高VIP-分分钟的碎碎念

摘要:解题思路:读懂题目很重要,题目的意思是form[i]中保存的是念头的来源,假如form[i]中的是5,那么他的念头就进入form[5],form[5],保存的是0,那因果链就断了,因为0是没有来源的注……

编写题解 2036: 散列存储

摘要:解题思路:注意事项:参考代码:n,m=map(int,input().split()) ls=[] for i in range(m):     ls.append(list(map(int,i……

模拟吧!!!

摘要:```cpp #include using namespace std; bool check_zhi(int n){ if(n < 2)return false; fo……