/ Vijos /

记录详情

Accepted

foo.cc: In function 'void update(int)':
foo.cc:23:37: warning: statement has no effect [-Wunused-value]
  if(!cov[x<<1]&&!cov[x<<1|1]) cov[x]==0;
                               ~~~~~~^~~
foo.cc: In function 'void cover(int, int, int, int, int)':
foo.cc:38:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
foo.cc: In function 'int query(int, int, int, int, int)':
foo.cc:46:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~

自豪的采用jd5进行评测(github.com/masnn/jd5)
# 状态 耗时 内存占用
#1 Accepted 3ms 6.246 MiB
#2 Accepted 4ms 6.301 MiB
#3 Accepted 4ms 6.301 MiB
#4 Accepted 7ms 6.297 MiB
#5 Accepted 27ms 6.551 MiB
#6 Accepted 56ms 8.828 MiB
#7 Accepted 65ms 9.633 MiB
#8 Accepted 62ms 11.215 MiB
#9 Accepted 42ms 6.445 MiB
#10 Accepted 98ms 11.297 MiB

信息

递交者
类型
递交
题目
P1883 月光的魔法
语言
C++
递交时间
2020-02-05 18:49:31
评测时间
2020-02-05 18:49:31
评测机
分数
100
总耗时
368ms
峰值内存
11.297 MiB