这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《求今晚 ATC F题思路》回复:
感谢各位,明白了
在讨论《求今晚 ATC F题思路》回复:
@[oOoOoOOOooOO](/user/42324) 为什么两点之间的路径是唯一的呢
在讨论《求今晚 ATC F题思路》回复:
@[Y2y7m](/user/377440) 能细说说吗,这道题我并查集只知道维护连不联通哈哈哈
在讨论《高斯-约旦消元法无穷解错判为无解80分WA#1#4求调》回复:
@[Φρανκ](/user/191387) 你知道错在哪了吗我也是wa 这俩点
在讨论《小调查》回复:
@[Cocoly1990](/user/183026) 我我我交一次一个分,多交几次就过辣! 好耶
在讨论《关于fhq的疑问》回复:
题号2710
在讨论《关于fhq的疑问》回复:
@[jifbt](/user/103171) 可以细说一下和种子有什么关系吗
最近接触到使用mt19937生成随机数,然后用完以后发现编译一次一个结果,我知道fhq的随机化只会影响复杂度但是不会影响正确性,所以发帖求帮忙调错。 ```cpp #include using namespace std; inline int read() { int x = 0, w = 1; char ch =…
p2042 ```cpp #include using namespace std; #define int long long inline int read() { int x = 0, w = 1; char ch = getchar(); while ((ch '9') && ch != '-') ch = g…
在讨论《关于fhq插入值的问题》回复:
@[ClHg2](/user/253946) 线性应该怎么做呢
如果要在一个位置插入多个值的话,可以不可以仅仅分裂一次然后疯狂往左子树上合并,最后再把右子树合并上 就像这样 ```cpp void Insert() { int nowl, nowr, now; pos = read(); split(root, pos, nowl, nowr); cnt = read(); for…
在讨论《关于主席树求区间第k大》回复:
我想要查询区间前k大的和可以这么做吗 ```cpp long long query(int x, int y, int l, int r, int v) { if (l == r) return tree[l].sum; int mid = (l + r) >> 1; int siz=tree[tree[y].l].s…
在讨论《关于主席树求区间第k大》回复:
谢谢谢谢
在讨论《关于可持久化线段树的一点疑问》回复:
懂了,谢谢各位了
```cpp #include using namespace std; inline int read() { int x = 0; char ch = getchar(); while (ch '9') ch = getchar(); while (ch >= '0' && ch vcnt; bitset vis;…
在讨论《挖土机杯 CSP-J 组模拟赛 R2 赛时答疑帖》回复:
比赛开O2吗
在讨论《赛时代码Wa最后一个点求调》回复:
解决了谢谢各位
rt ```cpp #include using namespace std; int sum[300005],visl[300005],visr[300005],n,l=30000005,r,s,t,ans,cnt; int main() { cin>>n; for(int i=1; i >l>>r; visl[l]…
在讨论《求调树剖》回复:
谢谢谢谢
rt,只过了样例 ```cpp #include using namespace std; const int N=200005; int head[N],id[N],siz[N],cnt,top[N],fa[N],son[N],wt[N],w[N],a[N],dep[N],n,m,ecnt; struct edge…
在讨论《挖土机杯 CSP-J 第二轮模拟赛 赛时答疑帖》回复:
t2的公差能为负数吗如:3:21@[Maxmilite](/user/274993)
在讨论《线段树问题》回复:
谢谢你
在讨论《线段树问题》回复:
@[Cerisier](/user/670262) 我打过标记了呀