/ 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 7ms 6.613 MiB
#2 Accepted 372ms 7.074 MiB
#3 Accepted 185ms 6.273 MiB
#4 Accepted 15ms 5.375 MiB
#5 Accepted 32ms 6.875 MiB
#6 Accepted 63ms 7.0 MiB
#7 Accepted 221ms 7.625 MiB
#8 Runtime Error 270ms 8.992 MiB
#9 Runtime Error 9ms 7.621 MiB
#10 Runtime Error 12ms 8.738 MiB

信息

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