/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void del(int, int, int&, int)':
/in/foo.cc:8:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(!o)o=++cnt;++dp[o];
     ^~
/in/foo.cc:8: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:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(l==r)return;int mid=l+r>>1;
     ^~
/in/foo.cc:9: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:9: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:15:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=l+r>>1,tmp=mid-l+1-dp[ls[o]];
             ~^~
# 状态 耗时 内存占用
#1 Accepted 14ms 13.875 MiB
#2 Accepted 9ms 13.875 MiB
#3 Accepted 9ms 11.5 MiB
#4 Accepted 14ms 14.0 MiB
#5 Accepted 11ms 13.625 MiB
#6 Accepted 13ms 14.473 MiB
#7 Accepted 8ms 11.875 MiB
#8 Accepted 14ms 11.59 MiB
#9 Accepted 10ms 11.75 MiB
#10 Accepted 9ms 13.238 MiB
#11 Accepted 150ms 19.223 MiB
#12 Accepted 178ms 19.223 MiB
#13 Accepted 509ms 37.965 MiB
#14 Accepted 463ms 34.625 MiB
#15 Accepted 473ms 36.34 MiB
#16 Accepted 518ms 36.984 MiB
#17 Accepted 208ms 29.988 MiB
#18 Accepted 206ms 27.363 MiB
#19 Accepted 651ms 59.613 MiB
#20 Accepted 682ms 58.316 MiB

信息

递交者
类型
递交
题目
P2033 列队
语言
C++
递交时间
2018-09-03 22:31:53
评测时间
2018-09-03 22:31:53
评测机
分数
100
总耗时
4160ms
峰值内存
59.613 MiB