这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
这里就是求出每个点的配对数量,然后用总对数减去与区间外的点有关系的对数得到答案 ```cpp #include using namespace std; #define int unsigned long long const int maxn = 3e5+100; int a[maxn],l[maxn],r[maxn…
```cpp #include using namespace std; map mp; const int maxn = 1e5+100; int f[maxn][30],lg[maxn],r[maxn],t[maxn]; int n,cnt; void init(){ for(int i = 2;i >n; int…
```cpp #include using namespace std; map mp,ap; const int maxn = 1e5+100; int f[maxn][30],lg[maxn],y[maxn],r[maxn]; int n,cnt; void init(){ for(int i = 2;i >n;…
```cpp #include using namespace std; const int maxn = 2e5+100; bool vist[maxn],vis[maxn]; int hd[maxn],ans; struct Edge{ int to,nxt; }e[maxn]; int idx,ccc; void…
```cpp #include using namespace std; const int maxn = 2e5+100; bool vis[maxn],vis2[maxn]; int fa[maxn],r[maxn]; vector g[maxn]; int find(int x){ if(fa[x] == x)r…
在讨论《求调 56pts AC on 1 2 3 5 玄关》回复:
此贴结
在讨论《求调 40ptsWA 闭关》回复:
此贴结
```cpp #include using namespace std; const int maxn = 3e6+100; int fa[maxn],siz[maxn],son[maxn][40],tot; bool vis[maxn]; int find(int x){ return (fa[x] == x)?x:…
```cpp #include using namespace std; const int maxn = 3e6+100; int fa[maxn],siz[maxn],son[maxn][30],tot; bool vis[maxn]; int find(int x){ return (fa[x] == x)?x:…
在讨论《求条 必关!! 五颜六色的评测机》回复:
Thank! 感谢!已关!
在讨论《求条 必关!! 五颜六色的评测机》回复:
刚学 OI 0.1ms 的蒟蒻求条qwq
```cpp #include using namespace std; const int maxn = 1e5+100,maxEdges = 1e5+100; int w[maxn],dep[maxn],father[maxn],siz[maxn],son[maxn],tot,W[maxn],top[maxn],i…
在文章《题解:P10257 [COCI 2023/2024 #5] Zlagalica》发表评论:
%%%
在讨论《NOIP 2025 游记开始征集!》回复:
qp
在讨论《T了两个点 求优化方法 玄关》回复:
@[TH911](luogu://user/967959) 已关谢谢
```cpp #include using namespace std; const int maxn = 81; string dp[maxn][maxn][maxn]; string a[maxn][maxn]; string lg[maxn]; bool cmp(string a,string b){ if(a.…
在讨论《BYOI Round 1 赛时答疑帖》回复:
qp
在文章《浅谈数论》发表评论:
巨佬%%%
在文章《浅谈数论》发表评论:
这是xxs?
在文章《浅谈数论》发表评论:
%%%
在文章《CSP-J/S 2025游记》发表评论:
Orz
在文章《CSP-J/S 2025游记》发表评论:
%%%巨佬