/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'void maketree(int&, int, int)':
foo.cc:38:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   38 |     int mid=l+r>>1;
      |             ~^~
foo.cc: In function 'void update(int&, int, int, int, int, int, int)':
foo.cc:53:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   53 |     int mid=l+r>>1;
      |             ~^~
foo.cc: In function 'int main()':
foo.cc:112:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  112 |         else if(s[0]='B')
      |                 ~~~~^~~~
foo.cc:90:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   90 |         scanf("%s",s);
      |         ~~~~~^~~~~~~~
Found 6 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2, expect 1. 5ms 512.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Wrong Answer Read 14090, expect 14089. 2ms 384.0 KiB
#4 Wrong Answer Read 634681, expect 634680. 2ms 384.0 KiB
#5 Wrong Answer Read 125082245, expect 125082244. 4ms 768.0 KiB
#6 Accepted 5ms 384.0 KiB

信息

递交者
类型
递交
题目
P1178 【模板】可持续化线段树 1
题目数据
下载
语言
C++
递交时间
2022-06-03 18:48:17
评测时间
2022-06-03 18:48:17
评测机
分数
33
总耗时
23ms
峰值内存
768.0 KiB