/ Vijos /

记录详情

Accepted

/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 4.25 MiB
#2 Accepted 335ms 7.645 MiB
#3 Accepted 177ms 5.125 MiB
#4 Accepted 14ms 4.113 MiB
#5 Accepted 22ms 5.598 MiB
#6 Accepted 47ms 4.25 MiB
#7 Accepted 212ms 6.395 MiB
#8 Accepted 542ms 9.617 MiB
#9 Accepted 983ms 10.867 MiB
#10 Accepted 902ms 10.949 MiB

信息

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