题解列表

筛选

守望者的逃离

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

期望dp与乘法逆元

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

这种题还需要看题解吗?

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

不会简单的写法

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