这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
求助大佬。。。 ``` #include using namespace std; const int MAXN=100010; int n,m,p,a,b,c,ans,opt,d[MAXN],t=0; struct TREE { int l; int r; int w; int j; int c; }tree[MAX…
在讨论《成功疯掉了。。。》回复:
这样吗? ``` #include using namespace std; const long long MAXN=1000001; long long n,m,x,y,c,opt,ans,p; struct TREE { long long l; long long r; long long w; long lo…
在讨论《成功疯掉了。。。》回复:
@[陈启乾](/space/show?uid=57601) 那应该怎么改。。。
在讨论《成功疯掉了。。。》回复:
@[陈启乾](/space/show?uid=57601)
在讨论《成功疯掉了。。。》回复:
所以说。。。
在讨论《成功疯掉了。。。》回复:
求大佬帮忙看看哪里错了。。。
大佬看看哪里错了。。。 ``` #include using namespace std; const long long MAXN=1000001; long long n,m,x,y,c,opt,ans,p; struct TREE { long long l; long long r; long long w;…
连模板都忘记怎么打了。。。 ``` #include using namespace std; const long long MAXN=1000001; long long n,m,x,y,c,opt,ans,p; struct TREE { long long l; long long r; long long w…
在讨论《c++中1和true好玄学。。。》回复:
泥闷可以试试看。。。但现在不知道为什么两个都错了。。。
在讨论《c++中1和true好玄学。。。》回复:
``` 5 18 2 4 276 3 3 435 3 4 608 2 4 860 1 2 318 1 3 547 5 4 419 2 5 98 1 5 460 5 3 399 3 5 240 3 2 733 3 3 903 4 2 909 5 2 206 3 4 810 2 1 115 2 3 419 ```
这句话刚刚是vis[k]=1;的就过了我自己下载的测试点 但是vis[k]=true;就玄学错了。。。 ``` #include using namespace std; const int MAXN=5010; const int MAXM=200010; const int INF=2147483647; int…
在讨论《求助大佬,哪里错了。。。》回复:
提高组机房了解一下。。。(逃)
在讨论《求助大佬,哪里错了。。。》回复:
我神奇般的想到用spfa。。。
在讨论《求助大佬,哪里错了。。。》回复:
因为我蒻啊~~~
``` #include using namespace std; const int MAXN=100100; const int INF=2147483647; queue q; vector g[MAXN]; int n,m,sum,num1,num,head[MAXN],in[MAXN]; int a[MAXN…
在讨论《神奇的样例错误。。。》回复:
好吧我知道了。。。
在讨论《神奇的样例错误。。。》回复:
@[Memory_of_winter](/space/show?uid=22072) @[WengWeijie](/space/show?uid=87538)
在讨论《神奇的样例错误。。。》回复:
@[skip1978](/space/show?uid=155315) @[little_gift](/space/show?uid=22132) @[mrsrz](/space/show?uid=6813) 同机房的大佬看一下吧
在讨论《神奇的样例错误。。。》回复:
@PRXOR。。。
在讨论《神奇的样例错误。。。》回复:
``` #include #include #include #include #include using namespace std; const int MAXN=100100; vector G[MAXN]; int n,x,y,a,b,in[MAXN],ans[MAXN]; struct cmp { bool…
大佬帮忙看一下。。。 ``` #include #include #include #include #include using namespace std; const int MAXN=100100; vector G[MAXN]; int n,x,y,a,b,in[MAXN],ans[MAXN]; struct…
样例输进去输出 1 5 3 4 2 Impossible! 1 2 3 4 5 ??????? ``` #include #include #include #include #include using namespace std; const int MAXN=100100; vector G[MAXN]; int…
在讨论《谁能帮我把dijkstra堆优化c++版的那个堆优化部分解释一下》回复:
@[zcrrzcr](/space/show?uid=25313) 谢谢(现在才看到。。。)
在讨论《谁能帮我把dijkstra堆优化c++版的那个堆优化部分解释一下》回复:
@[zhouhongkai](/space/show?uid=48264) 你知道吗,c++这段话什么意思
在讨论《谁能帮我把dijkstra堆优化c++版的那个堆优化部分解释一下》回复:
@[Glacier_elk](/space/show?uid=26945)
在讨论《谁能帮我把dijkstra堆优化c++版的那个堆优化部分解释一下》回复:
大佬能直接告诉我这段话什么意思吗 ``` truct node { int dis; int pos; bool operator <(const node &x)const { return x.dis<dis; } }; ```
``` #include using namespace std; const int MAXN=100010; const int MAXM=200010; const int INF=2147483647; int n,m,s,x,y,z,num; int dis[MAXN],head[MAXM]; bool vi…
在讨论《dijkstra忘记怎么写了。。。求大佬看看》回复:
好吧我知道哪里错了。。。
在讨论《dijkstra忘记怎么写了。。。求大佬看看》回复:
没看懂。。。
``` #include using namespace std; const int MAXN=100010; const int MAXM=500010; const int INF=2147483647; int n,m,s,x,y,z,num; int dis[MAXN],head[MAXM]; bool vi…