/ 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 14ms 14.125 MiB
#2 Accepted 8ms 13.977 MiB
#3 Accepted 10ms 11.375 MiB
#4 Accepted 11ms 13.875 MiB
#5 Accepted 12ms 14.0 MiB
#6 Accepted 9ms 11.457 MiB
#7 Accepted 12ms 13.0 MiB
#8 Accepted 14ms 11.723 MiB
#9 Accepted 9ms 14.625 MiB
#10 Accepted 6ms 13.605 MiB
#11 Accepted 145ms 18.562 MiB
#12 Accepted 156ms 21.363 MiB
#13 Accepted 488ms 31.344 MiB
#14 Accepted 459ms 35.699 MiB
#15 Accepted 438ms 31.469 MiB
#16 Accepted 487ms 34.777 MiB
#17 Accepted 188ms 28.738 MiB
#18 Accepted 202ms 27.613 MiB
#19 Accepted 577ms 59.859 MiB
#20 Accepted 658ms 61.074 MiB

信息

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