/ 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 6ms 4.094 MiB
#2 Accepted 428ms 5.125 MiB
#3 Accepted 170ms 6.125 MiB
#4 Accepted 14ms 3.75 MiB
#5 Accepted 29ms 4.375 MiB
#6 Accepted 58ms 6.473 MiB
#7 Accepted 207ms 7.0 MiB
#8 Accepted 616ms 8.199 MiB
#9 Runtime Error 71ms 9.191 MiB
#10 Runtime Error 88ms 9.324 MiB

信息

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