初一的菜
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; #define b 320 int t;//块数 int n,m; long long l,r,lastans; int a[100005]; int c[100005],rk[100005];//块内排序后的数组和在块内的排名 int num[…
```cpp #include using namespace std; int m,n,b;//??? int x[200005],y[200005]; int op,k; vector qr[200005]; int q=0; struct node{ int l,r,id; }qry[200005]; int c…
在讨论《实际要开long long?离奇95pts》回复:
一等,二等?
在文章《题解:B4319 [语言月赛 202504] 礼堂预约》发表评论:
《简单》
在讨论《错一个点,求助》回复:
n,m写混了,此帖结
在讨论《过样例,全WA,求调》回复:
```cpp for(int i=l;i<=mid;i++){ ad(p[i].c,-cnt[p[s1].a]); } ``` 改成 ```cpp for(int i=l;i<=mid;i++){ ad(p[i].c,-cnt[p[i].a]); } ``` 此帖结
在讨论《过样例,全WA,求调》回复:
@[Blackox_xxx](luogu://user/742612) @[wulinxi101](luogu://user/766225)
在讨论《过样例,全WA,求调》回复:
?
```cpp #include using namespace std; int n,k; struct node{ int a,b,c; }p[100005],q[100005];//。 int ans[100005],cnt[100005];//答案(去重)和重复次数 int res[100005];//最终答案…
在讨论《cf提交不了》回复:
Due to technical reasons, a large testing queue has formed, we are working on it.
在讨论《cf提交不了》回复:
排了至少12000人
在讨论《cf提交不了》回复:
都两个小时了,还在排队,评测机有问题
在讨论《cf提交不了》回复:
谢谢
在讨论《cf提交不了》回复:
六百六十六,排了200个人
在讨论《cf提交不了》回复:
有没有人知道为什么
在讨论《cf提交不了》回复:
现在好了,此帖结
在讨论《洛谷基础赛 #26 & IAMOI Round #4 赛时答疑帖》回复:
@[AprsNow](luogu://user/1218498)前排
在讨论《关于洛谷公开比赛作弊申诉的若干规定》回复:
qp
在讨论《RE0分求调》回复:
此帖结。
```cpp #include using namespace std; int n,maxn,q; int l[240005],r[240005],sum[240005],tag[240005]; inline int f(int x,int y){ return x>y?x:y; } void build(int…
在讨论《说句闲话:研究珂学的最好方法是》回复:
。
在文章《题解:P12751 [POI 2017 R2] 集装箱 Shipping containers》发表评论:
是n个差分数组,每个统计不同的差
一道好的根号分治(平衡思想)题。 ## 思路 考虑暴力,每次复杂度 $O(l)$,最差时间复杂度为 $O(n^2)$,过不了。 再考虑差分,建立差分数组 `a[100005][100005]`( 这里把数列拆成 $n$ 个数列的和, `a[i][j]`维护目标第 $i$ 个数列的第 $j$ 项减去第 $(j-i)$ 项…
在讨论《求调》回复:
已A,关了
在讨论《求调》回复:
@[wulinxi101](luogu://user/766225)
```cpp #include using namespace std; int phi[100005],mu[100005],pr[100005]; bool p[100005]; int inv[100005]; const int mod=998244353; int f[100005],*g[100005];…
如果你50分WA,试试关掉O2。 [开了O2](https://www.luogu.com.cn/record/219367044) [关掉O2](https://www.luogu.com.cn/record/219367136)
在讨论《建议升绿》回复:
支持