题解列表

筛选

题解 2831: 画矩形

解题思路:注意事项:参考代码:#includeusingnamespacestd;typedeflonglongll;intmain(){lln,m;chars;intd;cin>>n>>m>>s>>d;if(d==0){for(inti=1;i<=n;i++){cout

python|sys.stdin

摘要:```pythonimport sysfrom collections import Counter# python可能超时过不了全部,使用sys.stdin一次all in输入数据,……

Python | 生成器

摘要:### yieldfrom运用在dfs问题 2038: [简化型背包]([简化型背包](https://www.dotcpp.com/vipstudy_suanfa/problem/?id=203……

高精度除法

摘要:思路:见代码注释,按位相减注意:被除数小于除数的情况,以及余数为0的情况```cpp#include #include #include using namespace s……

简单易懂 给个赞 嘻嘻

解题思路:注意事项:参考代码:#includevoidfact(intn);intmain(){intn;//n是空的汽水瓶while(1){scanf("%d",&n);if(n>=1&&n<=100){fact(n);}else{return0;}}return0;}voidfa