记录详情

Runtime Error

foo.cc: In member function 'void tree::add(int, int, int, ll)':
foo.cc:57:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (l<=m) add(p<<1,l,r,c);if (r>m) add(p<<1|1,l,r,c);
   ^~
foo.cc:57:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if (l<=m) add(p<<1,l,r,c);if (r>m) add(p<<1|1,l,r,c);
                             ^~
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 1ms 712.0 KiB
#2 Runtime Error Segmentation fault 0ms 304.0 KiB
#3 Runtime Error Segmentation fault 0ms 308.0 KiB
#4 Runtime Error Segmentation fault 0ms 304.0 KiB
#5 Runtime Error Segmentation fault 0ms 256.0 KiB
#6 Runtime Error Segmentation fault 0ms 256.0 KiB
#7 Runtime Error Segmentation fault 1ms 312.0 KiB
#8 Runtime Error Segmentation fault 0ms 304.0 KiB
#9 Wrong Answer Read {0}, expect {1}. ["993256","999466"] 49ms 2.273 MiB
#10 Runtime Error Segmentation fault 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P1045 河蟹王国
语言
C++
递交时间
2021-01-27 09:51:51
评测时间
2021-01-27 09:51:51
评测机
分数
0
总耗时
59ms
峰值内存
2.273 MiB