/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'll BFS()':
/in/foo.cc:43:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (ll i = 0; i < tab[h].size(); i++)
                        ~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'll dinic(ll, ll)':
/in/foo.cc:60:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (ll i = current[x]; i < tab[x].size(); i++)
                             ~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'll DINIC()':
/in/foo.cc:85:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
         while (flow = dinic(S, 0x3f3f3f3f))  // 一次BFS可以进行多次增广
                                          ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:104:8: warning: unused variable 'total' [-Wunused-variable]
     ll total = 0;
        ^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 2.25 MiB
#2 Wrong Answer 3ms 1.074 MiB
#3 Wrong Answer 4ms 1.0 MiB
#4 Wrong Answer 5ms 1.5 MiB
#5 Wrong Answer 4ms 1.984 MiB
#6 Wrong Answer 8ms 2.32 MiB
#7 Runtime Error 8ms 2.875 MiB
#8 Runtime Error 8ms 2.375 MiB
#9 Runtime Error 6ms 2.484 MiB
#10 Runtime Error 9ms 2.449 MiB

信息

递交者
类型
递交
题目
P1555 狼和羊的故事
语言
C++
递交时间
2017-08-08 14:56:55
评测时间
2017-08-08 14:56:55
评测机
分数
0
总耗时
63ms
峰值内存
2.875 MiB