/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void insert(int&, int, int, int)':
/in/foo.cc:15:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (!k) k=++cnt; d[k]++; if (l==r) return;
  ^~
/in/foo.cc:15:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (!k) k=++cnt; d[k]++; if (l==r) return;
                   ^
/in/foo.cc: In function 'int query(int, int, int, int)':
/in/foo.cc:20:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (l==r) return l; int mid=(l+r)>>1;
  ^~
/in/foo.cc:20:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (l==r) return l; int mid=(l+r)>>1;
                      ^~~
# 状态 耗时 内存占用
#1 Accepted 9ms 12.367 MiB
#2 Accepted 14ms 14.234 MiB
#3 Accepted 13ms 14.125 MiB
#4 Accepted 14ms 14.25 MiB
#5 Accepted 11ms 13.75 MiB
#6 Accepted 17ms 13.367 MiB
#7 Accepted 14ms 13.941 MiB
#8 Accepted 15ms 13.23 MiB
#9 Accepted 9ms 13.625 MiB
#10 Accepted 8ms 13.75 MiB
#11 Accepted 125ms 21.105 MiB
#12 Accepted 129ms 17.98 MiB
#13 Accepted 452ms 33.312 MiB
#14 Accepted 397ms 35.094 MiB
#15 Accepted 365ms 34.469 MiB
#16 Accepted 474ms 38.289 MiB
#17 Accepted 205ms 28.156 MiB
#18 Accepted 187ms 27.777 MiB
#19 Accepted 555ms 59.402 MiB
#20 Accepted 562ms 58.48 MiB

信息

递交者
类型
递交
题目
P2033 列队
语言
C++
递交时间
2018-02-16 21:09:56
评测时间
2018-02-16 21:09:56
评测机
分数
100
总耗时
3583ms
峰值内存
59.402 MiB