记录详情

Runtime Error

foo.cc: In function 'void splay(int, int, int)':
foo.cc:40:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   40 |                 if (z)
      |                    ^
foo.cc: In function 'void build(int, int, int)':
foo.cc:112:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  112 |         int mid = l + r >> 1;
      |                   ~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 17ms 412.0 KiB
#2 Runtime Error Segmentation fault 17ms 412.0 KiB
#3 Runtime Error Segmentation fault 15ms 412.0 KiB
#4 Runtime Error Segmentation fault 16ms 412.0 KiB
#5 Runtime Error Segmentation fault 24ms 668.0 KiB
#6 Runtime Error Segmentation fault 61ms 1.168 MiB
#7 Runtime Error Segmentation fault 25ms 732.0 KiB
#8 Runtime Error Segmentation fault 63ms 1.145 MiB
#9 Runtime Error Segmentation fault 48ms 916.0 KiB
#10 Runtime Error Segmentation fault 51ms 1.02 MiB

信息

递交者
类型
递交
题目
P1508 4. Different sequence
比赛
2023秋 苏州青少年科技馆(吴江计算机协会)CSP-J/S模拟赛(1)
语言
C++
递交时间
2023-10-07 20:33:37
评测时间
2023-10-07 20:33:37
评测机
分数
0
总耗时
341ms
峰值内存
1.168 MiB