洛谷
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
# qwq ```cpp #include using namespace std; int n, cur = 0, deep, maxn = 1; struct cs { int l = 0, r = 0, v; }a[300010]; void push(int x) { ios::sync_with_stdio(…
在讨论《梦熊 J/S 模拟作弊名单》回复:
@[kkksc03](luogu://user/1)@[kkksc03](luogu://user/1)@[kkksc03](luogu://user/1)@[kkksc03](luogu://user/1)@[kkksc03](luogu://user/1)@[kkksc03](luogu://user/1)@[kk…
在文章《题解:P14233 [COI 2011] 收视率 / TELKA》发表评论:
666floor(bd41c030-37e5-45b7-86cf-4bb858948fb1)求带
```cpp #include using namespace std; string str(string s) { string z = ""; for (int i = 0; i = 0; i--) { if (s[i] == ',') return z; else z = z + s[i]; } } int m…
在文章《题解:P14166 [Algo Beat Contest 002.5 A] 题目分配 (divide)》发表评论:
(๑•̀ㅂ•́)و✧
在讨论《求调》回复:
@[Mss1617](luogu://user/981815)打不开
```cpp #include using namespace std; int a[110], n, b[110][110], maxn = 10; void dfs(int step1, int step2, int cnt) { if (step1 >= n && step2 >= n) { maxn = max…
在讨论《听取WA声一片》回复:
谢谢大佬
```cpp #include using namespace std; int n,ax,ay,bx,by; int gcd(int x,int y) { if(y==0) return x; else return (gcd(y,x%y)); } int main() { cin>>n; for(int i=1;i…
```cpp #include using namespace std; int n; bool prime(int x) { if(x==1) return false; if(x==2) return true; int j=2; while(j*j >n; for(int i=3;i<=n;i++) { if(p…