这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; const int N=5e4,M=2*N; int n,m,k; int s,t; int st[N][11],dist[N][11]; int e[M],ne[M],h[N],w[M],idx,q[M*11]; void add(int a,…
```cpp #include using namespace std; const int N=1e6+100; int n,m; int e[2*N],ne[2*N],h[2*N],dist[2*N],w[2*N],idx,q[N],cnt[N]; bool st[N]; void add(int a,int b,…
```cpp #include using namespace std; const int N=1e5+3; int P=131; int p[N]; unsigned int ou[N],h[N]; int n; struct d { string name; int grade; }a[N]; int ha(st…
在讨论《佬们 最后两个测试点没过!!》回复:
@[Ryan_X](luogu://user/1017099)收到 一定铭记于心!!!
```cpp #include using namespace std; const int N=1e6+10; int ne[N*2],e[2*N],h[2*N],idx=0,f[N][2],ans,a[N]; void add(int a,int b) { e[idx]=b,ne[idx]=h[a],h[a]=id…
```cpp #include using namespace std; const int N=2e3+1; int a[N],s[N],len,n,dp[N]; int find(int x) { for(int i=1;i x) return i; } return 0; } int main() { cin>>…
在讨论《大佬们我错哪了 找不出思密达 求助!!!》回复:
@[Clare613](luogu://user/730276)思密达 原来如此 感谢感谢 如此粗心一个人
```cpp #include using namespace std; const int N=1e6+10; int n,idx=0; long long int ans,e[2*N],ne[2*N],h[2*N],sz[N],w[2*N]; bool st[N]={0}; void add(int a,int b…