这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; const int N=1e6+5; struct node { int l,r,s; }a[N]; int n; bool cmp(node a,node b) { if(a.r>b.r) return true; return a.l>b.l…
``` #include using namespace std; int a,b,c; bool vis[20]; bool fun(int x,int y,int z) { memset(vis,0,sizeof(vis)); while(x!=0) { if(x%10==0) { return false; }…
原代码(WA两个点九十) ``` #include using namespace std; const int N=1e5+5; int n,m; struct node { int head; string name; }a[N]; int main() { ios::sync_with_stdio(false);…
``` #include using namespace std; int a,b; int fa[505]; struct node { int u,v,e; }g[505]; int pos=0; void build(int x,int y,int z) { pos++; g[pos].u=x; g[pos].v…
在讨论《蒟蒻70分TLE求助!!!》回复:
@[_JYqwq_](/user/400269) 谢谢大佬指点
``` #include using namespace std; int n,m; int op,a,b; int fa[200005]; int find(int x) { if(x==fa[x]) return x; return find(fa[x]); } int main() { cin.tie(0); c…