记录详情

Runtime Error

foo.cc: In member function 'void tree::build(int, int, int)':
foo.cc:56:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   56 |         int mid = L + R >> 1;
      |                   ~~^~~
foo.cc: In member function 'void tree::modify(int, int, int, int)':
foo.cc:66:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   66 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
foo.cc: In member function 'void tree::query(int, int, Numbr*)':
foo.cc:80:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   80 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
foo.cc: In member function 'void tree::changeTree(int, int, Numbr*, int)':
foo.cc:94:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   94 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
foo.cc: In function 'ull gcd(ull, ull)':
foo.cc:21:12: warning: control reaches end of non-void function [-Wreturn-type]
   21 |         gcd(b, a % b);
      |         ~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 33ms 27.992 MiB
#2 Runtime Error Segmentation fault 59ms 27.867 MiB
#3 Runtime Error Segmentation fault 57ms 27.992 MiB
#4 Runtime Error Aborted 26ms 28.0 MiB
#5 Runtime Error Aborted 28ms 28.117 MiB
#6 Runtime Error Segmentation fault 48ms 27.875 MiB
#7 Runtime Error Segmentation fault 44ms 27.867 MiB
#8 Runtime Error Aborted 186ms 30.242 MiB
#9 Runtime Error Aborted 193ms 30.242 MiB
#10 Runtime Error Aborted 191ms 30.242 MiB

信息

递交者
类型
递交
题目
P1384 Problem C. Segtree Master
语言
C++
递交时间
2022-07-10 19:33:33
评测时间
2022-07-10 19:33:33
评测机
分数
0
总耗时
871ms
峰值内存
30.242 MiB