/ SUOI /

记录详情

Runtime Error

/in/foo.cc: In function 'void cdq(int, int)':
/in/foo.cc:31:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;cdq(l,mid);cdq(mid+1,r);
          ~^~
/in/foo.cc:35:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (query[h1].type==1) add(query[h1].y,1);tmp[op++]=query[h1++];}
   ^~
/in/foo.cc:35:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (query[h1].type==1) add(query[h1].y,1);tmp[op++]=query[h1++];}
                                             ^~~
# 状态 耗时 内存占用
#1 Accepted 7ms 2.375 MiB
#2 Accepted 4ms 2.375 MiB
#3 Accepted 4ms 2.25 MiB
#4 Accepted 7ms 2.25 MiB
#5 Accepted 6ms 2.375 MiB
#6 Accepted 6ms 2.375 MiB
#7 Accepted 10ms 4.25 MiB
#8 Accepted 6ms 2.25 MiB
#9 Runtime Error 12ms 2.461 MiB
#10 Runtime Error 11ms 2.605 MiB

信息

递交者
类型
递交
题目
#20 垃圾显示屏
语言
C++
递交时间
2017-12-01 11:23:17
评测时间
2017-12-01 11:23:17
评测机
分数
80
总耗时
77ms
峰值内存
4.25 MiB