版本比较
2024“钉耙编程”中国大学生算法设计超级联赛(1)记录
正文
增加 2 行删除 2 行
204 行未改动全部展开20520620720820920921021121221360 行未改动27427527627727827827928028128213 行未改动204 行未改动全部展开```cpp#include<bits/stdc++.h>#define up(a,b,c) for(int a=b;a<=c;++a)const int N=66e4;using ll=long long; using ll=long long;using namespace std;int n,m,f[N],sz[N];ll lz[N],ans;struct edge60 行未改动 giao(1,1,n); up(i,1,n)ans^=lz[i]; cout<<ans; return 0;} }```#### 易错点线段树分治时记录历史要放在最前,回退要放在最后。
13 行未改动