/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:124:25: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int mid = l + r + 1 >> 1;
                   ~~~~~~^~~
/in/foo.cc:135:24: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
     printf("%d\n", ans);
                        ^
# 状态 耗时 内存占用
#1 Accepted 3ms 2.586 MiB
#2 Accepted 2ms 2.598 MiB
#3 Accepted 2ms 2.598 MiB
#4 Accepted 4ms 2.598 MiB
#5 Accepted 264ms 4.715 MiB
#6 Accepted 179ms 4.699 MiB
#7 Accepted 300ms 4.688 MiB
#8 Accepted 600ms 6.137 MiB
#9 Accepted 5ms 2.715 MiB
#10 Accepted 78ms 7.516 MiB
#11 Accepted 145ms 10.734 MiB
#12 Accepted 3ms 2.59 MiB
#13 Accepted 3ms 2.59 MiB
#14 Accepted 3ms 2.59 MiB
#15 Accepted 3ms 2.59 MiB
#16 Accepted 4ms 2.59 MiB
#17 Accepted 5ms 2.59 MiB
#18 Accepted 114ms 4.211 MiB
#19 Accepted 176ms 4.824 MiB
#20 Accepted 326ms 6.277 MiB

信息

递交者
类型
递交
题目
P2060 赛道修建
语言
C++
递交时间
2021-01-28 11:25:37
评测时间
2021-01-28 11:25:37
评测机
分数
100
总耗时
2230ms
峰值内存
10.734 MiB