/ WHOJ /

记录详情

Accepted

foo.cc: In member function 'void Chairman_Tree::build(int, int, int&)':
foo.cc:45:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   45 |   int mid=l+r>>1;
      |           ~^~
foo.cc: In member function 'void Chairman_Tree::add(int, int, int, int, int&, int, int)':
foo.cc:59:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   59 |   int mid=l+r>>1;
      |           ~^~
foo.cc: In member function 'long long int Chairman_Tree::ask(int, int, int, int, int)':
foo.cc:67:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   67 |   int mid=l+r>>1;
      |           ~^~
foo.cc: In function 'int main()':
foo.cc:82:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   82 |   scanf("%s",s);
      |   ~~~~~^~~~~~~~
正在同步测试数据,请稍后
Found 6 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 6ms 768.0 KiB
#6 Accepted 4ms 384.0 KiB

信息

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