/ Vijos /

记录详情

Runtime Error

/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 Accepted 4ms 3.469 MiB
#2 Accepted 319ms 4.5 MiB
#3 Accepted 203ms 5.082 MiB
#4 Accepted 11ms 5.125 MiB
#5 Accepted 21ms 5.121 MiB
#6 Accepted 42ms 4.25 MiB
#7 Accepted 146ms 5.875 MiB
#8 Runtime Error 5ms 5.477 MiB
#9 Runtime Error 8ms 5.371 MiB
#10 Runtime Error 7ms 6.691 MiB

信息

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