/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void del(int, int, int&, int)':
/in/foo.cc:7:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(!o)o=++cnt;++dp[o];
     ^~
/in/foo.cc:7:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(!o)o=++cnt;++dp[o];
                   ^~
/in/foo.cc:8:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(l==r)return;int mid=l+r>>1;
     ^~
/in/foo.cc:8:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(l==r)return;int mid=l+r>>1;
                    ^~~
/in/foo.cc:8:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     if(l==r)return;int mid=l+r>>1;
                            ~^~
/in/foo.cc: In function 'int kth(int, int, int, int)':
/in/foo.cc:14:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=l+r>>1,tmp=mid-l+1-dp[ls[o]];
             ~^~
# 状态 耗时 内存占用
#1 Accepted 9ms 13.727 MiB
#2 Accepted 13ms 13.703 MiB
#3 Accepted 9ms 14.09 MiB
#4 Accepted 8ms 11.375 MiB
#5 Accepted 10ms 13.125 MiB
#6 Accepted 12ms 14.359 MiB
#7 Accepted 8ms 14.375 MiB
#8 Accepted 14ms 13.102 MiB
#9 Accepted 9ms 14.625 MiB
#10 Accepted 9ms 11.375 MiB
#11 Accepted 152ms 21.613 MiB
#12 Accepted 150ms 22.465 MiB
#13 Accepted 536ms 34.219 MiB
#14 Accepted 490ms 34.23 MiB
#15 Accepted 502ms 37.094 MiB
#16 Accepted 523ms 41.969 MiB
#17 Accepted 205ms 28.516 MiB
#18 Accepted 200ms 28.238 MiB
#19 Accepted 675ms 58.375 MiB
#20 Accepted 677ms 58.316 MiB

信息

递交者
类型
递交
题目
P2033 列队
语言
C++
递交时间
2018-09-09 21:55:24
评测时间
2018-09-09 21:55:24
评测机
分数
100
总耗时
4219ms
峰值内存
58.375 MiB