题解列表

筛选

不会简单的写法

摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split())) b=list(map(int,input().split())) c=0 d=0 e=0 fo……

这种题还需要看题解吗?

摘要:解题思路:就循环注意事项:参考代码:for i in range(10,1001):     if i%2==0 and i%3==0 and i%7==0:         print(i)……

期望dp与乘法逆元

摘要:解题思路:简单的期望dp注意事项:乘法一定要防止long long越界参考代码:#include<bits/stdc++.h>//这道题自己曾经不会期望dp,不会逆元,所以考场做不出来。//现在自己靠……

守望者的逃离

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,s,t;//魔法初值m,初始位置与岛的出口之间的距离s,岛沉没的时间t。 scanf("%d %d ……

稍微变化的01背包

摘要:解题思路:看注释注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 2010#define maxm 10010int ……