记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:23: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
         ans += ((a[i] - 1 >> 1) << 1) + 1;
                  ~~~~~^~~
# 状态 耗时 内存占用
#1 Accepted 15ms 684.0 KiB
#2 Accepted 15ms 680.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Accepted 1ms 216.0 KiB
#5 Accepted 1ms 232.0 KiB
#6 Accepted 1ms 216.0 KiB
#7 Accepted 14ms 656.0 KiB
#8 Accepted 14ms 628.0 KiB
#9 Accepted 14ms 652.0 KiB
#10 Accepted 14ms 584.0 KiB

信息

递交者
类型
递交
题目
P1015 选数
语言
C++
递交时间
2020-09-20 21:21:57
评测时间
2020-10-07 22:03:20
评测机
分数
1000
总耗时
94ms
峰值内存
684.0 KiB