摘要:
E. Lomsat gelral 注意答案会爆int 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e5+10; #define LL long long LL w[N];//w int n,q; vector<in 阅读全文
posted @ 2023-11-02 15:47
不o凡
阅读(11)
评论(0)
推荐(0)
摘要:
U41492 树上数颜色 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e5+10; int w[N];//w vector<int> g[N]; vector<int>qr[N]; int ans[N]; int 阅读全文
posted @ 2023-11-02 14:59
不o凡
阅读(79)
评论(0)
推荐(0)
摘要:
小蓝的疑问【算法赛】 点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=1e5+10; int w[N];//w vector<int> g[N]; vector<pair<int,int> >qr[N]; int ans 阅读全文
posted @ 2023-11-02 14:36
不o凡
阅读(19)
评论(0)
推荐(0)