/ AKIOI OJ /

记录详情

Runtime Error

/in/foo.cc: In member function 'void Tree::build(int, int, int)':
/in/foo.cc:116:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  116 |                 int mid=l+r>>1;
      |                         ~^~
/in/foo.cc: In member function 'void Tree::update(int, int, int, ll)':
/in/foo.cc:130:33: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  130 |                 int mid=tre[k].l+tre[k].r>>1;
      |                         ~~~~~~~~^~~~~~~~~
/in/foo.cc: In member function 'll Tree::query(int, int, int)':
/in/foo.cc:139:33: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  139 |                 int mid=tre[k].l+tre[k].r>>1;ll ans=0;
      |                         ~~~~~~~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 39ms 27.77 MiB
#2 Accepted 99ms 38.258 MiB
#3 Accepted 82ms 41.617 MiB
#4 Accepted 4086ms 735.523 MiB
#5 Accepted 4127ms 732.387 MiB
#6 Accepted 3675ms 734.016 MiB
#7 Runtime Error 178ms 189.004 MiB
#8 Runtime Error 374ms 363.359 MiB
#9 Runtime Error 366ms 363.355 MiB
#10 Accepted 2560ms 556.828 MiB
#11 Accepted 3678ms 734.898 MiB
#12 Accepted 3675ms 733.938 MiB
#13 Accepted 3453ms 735.387 MiB
#14 Accepted 3348ms 733.918 MiB
#15 Accepted 3466ms 735.066 MiB
#16 Accepted 3446ms 733.918 MiB
#17 Accepted 3452ms 734.895 MiB
#18 Accepted 3455ms 733.93 MiB
#19 Accepted 3446ms 736.172 MiB
#20 Accepted 3522ms 733.914 MiB

信息

递交者
类型
递交
题目
P1093 [whyz联测] D. 基础树链剖分练习题
语言
C++
递交时间
2024-11-23 11:48:31
评测时间
2024-11-23 11:51:51
评测机
分数
85
总耗时
50536ms
峰值内存
736.172 MiB