这个家伙不懒,但什么也没有留下
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《全蛙求条》回复:
关了,谢谢QWQ
```cpp #include #define F for (int i = 1; i > n; F cin >> input, f[input] = 1; while (n--) { int cnt = 0; F cin >> input, cnt += f[input]; a[7 - cnt]++; } F cou…
在讨论《求问》回复:
谢谢QAQ
谁能告诉我这个代码的时间复杂度吗?QAQ ~~(本蒟蒻太菜了)~~ ```cpp #include using namespace std; const int N = 3e5 +5; int n, cnt = 1, p[N] = {0, 2}; inline bool check(int num) { for (in…
在讨论《28分求调》回复:
好吧,经过一段漫长的~~实际上只有一分钟~~的思考,我终于找到了正确做法,代码如下:(仅供参考,严禁抄袭) ```cpp #include using namespace std; int main() { int n,x,y=1,k; cin>>n; for (k=1;y%364!=0||y>36400;k++) y…
```cpp #include using namespace std; int main() { int n,x,y=36401,k; cin>>n; for (k=1;y%364!=0&&y>36400;k++) y=n-1092*k; x=y/364; k--; cout<<x<<endl; cout<<k<<e…