/ new_bzoj /

记录详情

Wrong Answer

foo.cc: In function 'void build(int, int, int)':
foo.cc:51:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
      int mid=l+r>>1;
              ~^~
foo.cc: In function 'void update(int, int, int, int)':
foo.cc:149:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
      int mid=L+R>>1;
              ~^~
foo.cc: In function 'int query1(int, int, int)':
foo.cc:162:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
      int mid=L+R>>1;
              ~^~
foo.cc: In function 'int query2(int, int, int)':
foo.cc:176:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
      int mid=L+R>>1;
              ~^~
foo.cc: In function 'int main()':
foo.cc:188:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
      sc(n),sc(m);
           ^
foo.cc:188:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
foo.cc:6:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 #define sc(x) scanf("%d",&x)
               ~~~~~^~~~~~~~~
foo.cc:189:28: note: in expansion of macro 'sc'
      for(int i=1;i<=n;i++) sc(a[i]);
                            ^~
foo.cc:194:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
           sc(op),sc(l),sc(r);
                       ^
foo.cc:194:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
foo.cc:194:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 428.0 KiB
#2 Wrong Answer Read 99985, expect 99983. 118ms 13.918 MiB
#3 Wrong Answer Read 11, expect 14. 2ms 436.0 KiB
#4 Wrong Answer Read 342, expect 338. 2ms 544.0 KiB
#5 Wrong Answer Read 2373, expect 2266. 16ms 2.07 MiB
#6 Wrong Answer Read 1046, expect 1487. 17ms 2.074 MiB
#7 Wrong Answer Read 13081, expect 12956. 97ms 7.242 MiB
#8 Wrong Answer Read 1615, expect 3740. 89ms 7.344 MiB
#9 Wrong Answer Read 4730, expect 4369. 181ms 14.191 MiB
#10 Wrong Answer Read 3125, expect 170. 188ms 14.199 MiB

信息

递交者
类型
递交
题目
序列操作
语言
C++
递交时间
2021-08-25 13:30:08
评测时间
2021-08-25 13:30:08
评测机
分数
10
总耗时
717ms
峰值内存
14.199 MiB