/ 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 11ms 11.375 MiB
#2 Accepted 6ms 11.492 MiB
#3 Accepted 8ms 12.824 MiB
#4 Accepted 9ms 13.078 MiB
#5 Accepted 8ms 13.836 MiB
#6 Accepted 11ms 13.75 MiB
#7 Accepted 11ms 14.125 MiB
#8 Accepted 10ms 14.09 MiB
#9 Accepted 7ms 11.844 MiB
#10 Accepted 9ms 13.25 MiB
#11 Accepted 128ms 21.988 MiB
#12 Accepted 130ms 16.836 MiB
#13 Accepted 498ms 37.344 MiB
#14 Accepted 410ms 32.719 MiB
#15 Accepted 476ms 33.508 MiB
#16 Accepted 527ms 39.859 MiB
#17 Accepted 206ms 30.211 MiB
#18 Accepted 205ms 27.246 MiB
#19 Accepted 730ms 58.602 MiB
#20 Accepted 702ms 62.293 MiB

信息

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