/ Vijos /

记录详情

Runtime Error

/in/foo.cc:7:24: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
 #define ALL_P MAXM*MAXP+MAXN
                        ^
/in/foo.cc:18:7: note: in expansion of macro 'ALL_P'
 }edge[ALL_P*MAXN<<1];
       ^~~~~
/in/foo.cc: In function 'int SPFA(int&, int&)':
/in/foo.cc:52:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=0;i<dir[t].size();i++)
                     ~^~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:117:9: warning: unused variable 't' [-Wunused-variable]
     int t,S,T;
         ^
/in/foo.cc: In function 'int SPFA(int&, int&)':
/in/foo.cc:72:17: warning: 'z' may be used uninitialized in this function [-Wmaybe-uninitialized]
         int x,y,z;
                 ^
/in/foo.cc:85:9: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
         if(y)
         ^~
/in/foo.cc:87:20: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
             y++;x++;
                    ^
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 4.25 MiB
#2 Wrong Answer 5ms 4.352 MiB
#3 Wrong Answer 2ms 2.379 MiB
#4 Wrong Answer 3ms 4.625 MiB
#5 Wrong Answer 4ms 4.5 MiB
#6 Wrong Answer 4ms 3.75 MiB
#7 Wrong Answer 9ms 5.875 MiB
#8 Wrong Answer 17ms 6.113 MiB
#9 Runtime Error 12ms 7.969 MiB
#10 Runtime Error 19ms 8.387 MiB

信息

递交者
类型
递交
题目
P1726 美食节
语言
C++
递交时间
2018-03-28 16:16:24
评测时间
2018-03-28 16:16:24
评测机
分数
0
总耗时
83ms
峰值内存
8.387 MiB