/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'flow_t extendFlow(int, flow_t)':
/in/foo.cc:74:64: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    if (t = extendFlow(e[i].endVertexId, min(flow, e[i].remain)))
                                                                ^
/in/foo.cc: In function 'cost_t Dinic()':
/in/foo.cc:87:54: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   while (flow = extendFlow(S, FLOW_INFTY) && cost <= 0)
                                                      ^
# 状态 耗时 内存占用
#1 Accepted 3ms 364.0 KiB
#2 Accepted 11ms 384.0 KiB
#3 Accepted 12ms 384.0 KiB
#4 Accepted 10ms 348.0 KiB
#5 Time Exceeded ≥1004ms ≥888.0 KiB
#6 Time Exceeded ≥1002ms ≥644.0 KiB
#7 Time Exceeded ≥1003ms ≥744.0 KiB
#8 Time Exceeded ≥1006ms ≥868.0 KiB
#9 Accepted 790ms 768.0 KiB
#10 Time Exceeded ≥1004ms ≥868.0 KiB

信息

递交者
类型
递交
题目
P2016 新生舞会
语言
C++
递交时间
2017-11-29 21:43:13
评测时间
2017-11-29 21:43:13
评测机
分数
50
总耗时
≥5851ms
峰值内存
≥888.0 KiB