/ Vijos /

记录详情

Accepted

foo.cc: In function ‘int solve(int)’:
foo.cc:34:35: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
   34 |                 if(sum[i]>=(sum[n]+1>>1))
      |                             ~~~~~~^~
foo.cc:36:1: warning: control reaches end of non-void function [-Wreturn-type]
   36 | }
      | ^
# 状态 耗时 内存占用
#1 Accepted 3ms 768.0 KiB
#2 Accepted 3ms 764.0 KiB
#3 Accepted 3ms 324.0 KiB
#4 Accepted 3ms 536.0 KiB
#5 Accepted 4ms 536.0 KiB
#6 Accepted 10ms 844.0 KiB
#7 Accepted 18ms 1.398 MiB
#8 Accepted 26ms 1.918 MiB
#9 Accepted 34ms 2.621 MiB
#10 Accepted 43ms 3.023 MiB

信息

递交者
类型
递交
题目
P1036 安装服务器
语言
C++
递交时间
2024-05-12 08:38:01
评测时间
2024-05-12 08:38:01
评测机
分数
100
总耗时
151ms
峰值内存
3.023 MiB