/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void spfa(int*, int*, int)':
/in/foo.cc:47:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             if (type == 0 && dist[j] > min(dist[t], w[j]) || type == 1 && dist[j] < max(dist[t], w[j]))
                 ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 1.84 MiB
#2 Accepted 2ms 1.848 MiB
#3 Accepted 3ms 1.812 MiB
#4 Accepted 28ms 3.457 MiB
#5 Accepted 36ms 3.895 MiB
#6 Accepted 2ms 1.84 MiB
#7 Accepted 5ms 1.965 MiB
#8 Accepted 18ms 3.082 MiB
#9 Accepted 44ms 4.727 MiB
#10 Accepted 39ms 4.598 MiB

信息

递交者
类型
递交
题目
P1754 最优贸易
语言
C++
递交时间
2021-05-02 20:10:19
评测时间
2021-05-02 20:10:19
评测机
分数
100
总耗时
183ms
峰值内存
4.727 MiB