/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool cmp(node, node)':
/in/foo.cc:20:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     return x.v<y.v||x.v==y.v&&x.d<y.d;
                     ~~~~~~~~^~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:89:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         if (sum<ans||sum==ans&&v[i]>v[k]) ans=sum,k=i;
                      ~~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 5ms 8.25 MiB
#2 Accepted 5ms 8.363 MiB
#3 Accepted 4ms 6.355 MiB
#4 Accepted 5ms 8.348 MiB
#5 Accepted 4ms 8.363 MiB
#6 Accepted 4ms 8.25 MiB
#7 Accepted 7ms 8.25 MiB
#8 Accepted 5ms 8.344 MiB
#9 Accepted 4ms 8.344 MiB
#10 Accepted 4ms 8.371 MiB
#11 Accepted 9ms 10.25 MiB
#12 Accepted 15ms 8.598 MiB
#13 Accepted 13ms 8.598 MiB
#14 Accepted 10ms 8.328 MiB
#15 Accepted 114ms 27.078 MiB
#16 Accepted 126ms 27.75 MiB
#17 Accepted 252ms 37.824 MiB
#18 Accepted 220ms 42.047 MiB
#19 Accepted 286ms 42.207 MiB
#20 Accepted 340ms 42.254 MiB

信息

递交者
类型
递交
题目
P1780 开车旅行
语言
C++
递交时间
2018-03-30 15:02:40
评测时间
2018-03-30 15:02:40
评测机
分数
100
总耗时
1440ms
峰值内存
42.254 MiB