/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void update(int)':
/in/foo.cc:23:37: warning: statement has no effect [-Wunused-value]
  if(!cov[x<<1]&&!cov[x<<1|1]) cov[x]==0;
                               ~~~~~~^~~
/in/foo.cc: In function 'void cover(int, int, int, int, int)':
/in/foo.cc:38:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'int query(int, int, int, int, int)':
/in/foo.cc:46:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
# 状态 耗时 内存占用
#1 Accepted 3ms 6.188 MiB
#2 Accepted 3ms 6.191 MiB
#3 Accepted 3ms 6.305 MiB
#4 Accepted 6ms 6.336 MiB
#5 Accepted 24ms 8.43 MiB
#6 Accepted 49ms 8.305 MiB
#7 Accepted 64ms 10.828 MiB
#8 Accepted 60ms 11.43 MiB
#9 Accepted 42ms 8.551 MiB
#10 Accepted 91ms 11.305 MiB

信息

递交者
类型
递交
题目
P1883 月光的魔法
语言
C++
递交时间
2020-02-04 23:01:23
评测时间
2020-02-04 23:01:23
评测机
分数
100
总耗时
350ms
峰值内存
11.43 MiB