/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int GetMaxFlow(int, int)':
/in/foo.cc:50:61: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     if(d=GetMaxFlow(a[i].Point,min(Flow-MaxFlow,a[i].Value)))
                                                             ^
/in/foo.cc: In function 'int Dinic()':
/in/foo.cc:63:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     while(ans=GetMaxFlow(1,2123456789))
                                      ^
/in/foo.cc:63:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
     while(ans=GetMaxFlow(1,2123456789))
     ^~~~~
/in/foo.cc:64:15: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
     all+=ans; return all;
               ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 2.375 MiB
#2 Accepted 3ms 2.383 MiB
#3 Accepted 4ms 2.375 MiB
#4 Accepted 6ms 2.391 MiB
#5 Accepted 6ms 2.375 MiB
#6 Accepted 6ms 2.5 MiB
#7 Accepted 3ms 2.375 MiB
#8 Accepted 10ms 4.5 MiB
#9 Time Exceeded ≥2006ms ≥24.375 MiB
#10 Time Exceeded ≥2005ms ≥24.5 MiB

信息

递交者
类型
递交
题目
P1352 最大获利
语言
C++
递交时间
2017-05-31 21:46:42
评测时间
2017-05-31 21:46:42
评测机
分数
80
总耗时
≥4058ms
峰值内存
≥24.5 MiB