记录详情

Wrong Answer

/in/foo.cc: In function 'void Spfa()':
/in/foo.cc:40:11: warning: unused variable 'k' [-Wunused-variable]
     int j,k,MAX,x,headz=0,tailz=1;
           ^
/in/foo.cc:40:13: warning: unused variable 'MAX' [-Wunused-variable]
     int j,k,MAX,x,headz=0,tailz=1;
             ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:60:47: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
 void add(int x,int y,int id) {son[++E[id]][id]=y;nxt[E[id]][id]=lnk[x][id];lnk[x][id]=E[id];}
                               ~~~~~~~~~~~~~~~~^~
/in/foo.cc:63:15: note: 'y' was declared here
     int i,j,x,y,fi,fj;
               ^
/in/foo.cc:60:74: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
 void add(int x,int y,int id) {son[++E[id]][id]=y;nxt[E[id]][id]=lnk[x][id];lnk[x][id]=E[id];}
                                                                 ~~~~~~~~~^
/in/foo.cc:63:13: note: 'x' was declared here
     int i,j,x,y,fi,fj;
             ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 4.191 MiB
#2 Wrong Answer 2ms 4.199 MiB
#3 Wrong Answer 2ms 4.207 MiB
#4 Wrong Answer 2ms 4.285 MiB
#5 Wrong Answer 2ms 4.203 MiB
#6 Wrong Answer 1ms 4.195 MiB
#7 Wrong Answer 2ms 6.203 MiB
#8 Wrong Answer 2ms 4.191 MiB
#9 Wrong Answer 2ms 4.191 MiB
#10 Wrong Answer 2ms 6.199 MiB
#11 Wrong Answer 2ms 4.188 MiB
#12 Wrong Answer 2ms 4.293 MiB
#13 Wrong Answer 2ms 4.195 MiB
#14 Wrong Answer 2ms 6.164 MiB
#15 Wrong Answer 2ms 4.293 MiB

信息

递交者
类型
递交
题目
ATM
题目数据
下载
语言
C++
递交时间
2019-10-12 15:57:44
评测时间
2019-10-12 15:57:44
评测机
分数
0
总耗时
36ms
峰值内存
6.203 MiB