/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void add(int, int, int, int)':
/in/foo.cc:13:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1,ls=k<<1,rs=ls|1;
          ~^~
/in/foo.cc: In function 'int get(int, int, int, int)':
/in/foo.cc:20:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1,ls=k<<1,rs=ls|1,ret=0;
          ~^~
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 4ms 2.375 MiB
#3 Accepted 5ms 2.375 MiB
#4 Accepted 5ms 2.371 MiB
#5 Accepted 8ms 2.25 MiB
#6 Accepted 3ms 356.0 KiB
#7 Accepted 4ms 2.488 MiB
#8 Accepted 5ms 2.465 MiB
#9 Accepted 5ms 468.0 KiB
#10 Accepted 6ms 2.344 MiB

信息

递交者
类型
递交
题目
P1066 弱弱的战壕
语言
C++
递交时间
2017-12-15 15:58:01
评测时间
2017-12-15 15:58:02
评测机
分数
100
总耗时
53ms
峰值内存
2.488 MiB