无罪,有理!
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
除#1,#2,#3之外全WA ```cpp #include #define int long long using namespace std; const int mod=1e8; int ans,n,m,full,num[20],dp[2][4105]; bool pd[4105][4105]; signed m…
```cpp #include #define int long long using namespace std; int n,m,num,p[105],pd[1050][1050],dp[1050][105][1005]; signed main(){ cin>>n>>m; num=(1 >x; p[i]|=(x=…
在讨论《听灌多》回复:
@[Mizuki_yyds](/user/1030776) 是不是因为求的是1到n的最长路,而你没有固定起点?
在讨论《求能在电脑上下军棋的网站或软件(悬1关)》回复:
最好是专门的
在讨论《求能在电脑上下军棋的网站或软件(悬1关)》回复:
@[yitian_](/user/1263486) 没有微信
```cpp #include #define int long long using namespace std; const int N=1e5+5; int n,m,tot,head[N],sz[N],son[N],cnt[N],up[N][20],dep[N],ans[N]; struct Edge{ int…
这里有战犯吗?  
在讨论《站外题?》回复:
[https://www.ips99.com/show/4/91839.html](https://www.ips99.com/show/4/91839.html)
在讨论《有人有洛谷反诈中心的code吗》回复:
用的时候记得开c++11 [code](https://www.luogu.com.cn/paste/vsfhz5xr)
[求助帖](https://www.luogu.com.cn/discuss/795458) [P1505 [国家集训队] 旅游](https://www.luogu.com.cn/problem/P1505)
```cpp #include #define ll long long #define N (int)2e5+5 using namespace std; int n,m,root=1,cnt,tot,a[N],head[N],dep[N],sz[N],son[N],id[N],top[N],fat[N],na[N]…
在讨论《蒟蒻只AC#11 求调》回复:
悬一管
```cpp #include #define ll long long #define N (int)2e5+5 using namespace std; int n,m,root=1,it,cnt,tot,a[N],head[N],dep[N],sz[N],son[N],id[N],top[N],fat[N],na…
在讨论《WA#10树链剖分90pts求调》回复:
@[luo_xiaoran](/user/605945) 问题已解决,关注标准改为解决求助帖中的附加问题。
在讨论《WA树链剖分90pts求调》回复:
已解决,请问为什么把53行update中的pushdown删掉就A了?
[求助帖](https://www.luogu.com.cn/discuss/794661) [P3950 部落冲突](https://www.luogu.com.cn/problem/P3950)
```cpp #include #define int long long #define ll long long #define N (int)3e5+5 using namespace std; int n,m,root=1,cnt,tot,it,b[N][2],a[N],head[N],dep[N],sz[N]…
[题目](https://www.luogu.com.cn/problem/P2486)要求:树上区间颜色修改,树上区间色段数量查询。 [求助帖](https://www.luogu.com.cn/discuss/794217)
```cpp #include #define int long long #define N (int)1e5+5 using namespace std; int n,m,cnt,tot,la[N sz[son[u]]) son[u]=e[i].v; } } void dfs2(int u){ id[u]=++to…
```cpp #include #define int long long #define N (int)1e5+5 using namespace std; int n,m,cnt,tot,la[N sz[son[u]]) son[u]=e[i].v; } } void dfs2(int u){ id[u]=++to…
```cpp #include #define int long long #define N (int)1e5+5 using namespace std; int n,m,cnt,tot,la[N sz[son[u]]) son[u]=e[i].v; } } void dfs2(int u){ id[u]=++to…
```cpp #include #define ll long long #define N (int)2e5+5 using namespace std; int n,m,root=1,cnt,tot,b[N][2],a[N],head[N],dep[N],sz[N],son[N],id[N],top[N],fat[…