/ SUOI /

记录详情

Accepted

/in/foo.cc: In function 'void cdq(int, int)':
/in/foo.cc:29:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;cdq(l,mid);cdq(mid+1,r);
          ~^~
/in/foo.cc:33: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:33: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 5ms 4.367 MiB
#2 Accepted 7ms 4.25 MiB
#3 Accepted 6ms 4.332 MiB
#4 Accepted 3ms 2.332 MiB
#5 Accepted 7ms 2.492 MiB
#6 Accepted 10ms 4.25 MiB
#7 Accepted 6ms 4.375 MiB
#8 Accepted 11ms 4.375 MiB
#9 Accepted 191ms 8.75 MiB
#10 Accepted 207ms 9.0 MiB

信息

递交者
类型
递交
题目
#20 垃圾显示屏
语言
C++
递交时间
2017-12-01 11:43:45
评测时间
2017-12-01 11:45:09
评测机
分数
100
总耗时
456ms
峰值内存
9.0 MiB