/ 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 12ms 11.328 MiB
#2 Accepted 13ms 14.25 MiB
#3 Accepted 11ms 11.625 MiB
#4 Accepted 11ms 13.227 MiB
#5 Accepted 15ms 14.0 MiB
#6 Accepted 11ms 14.219 MiB
#7 Accepted 10ms 14.125 MiB
#8 Accepted 14ms 13.0 MiB
#9 Accepted 12ms 13.859 MiB
#10 Accepted 7ms 13.375 MiB
#11 Accepted 176ms 21.867 MiB
#12 Accepted 162ms 20.457 MiB
#13 Accepted 493ms 33.219 MiB
#14 Accepted 451ms 35.094 MiB
#15 Accepted 455ms 36.594 MiB
#16 Accepted 536ms 35.594 MiB
#17 Accepted 218ms 27.621 MiB
#18 Accepted 210ms 28.516 MiB
#19 Accepted 609ms 60.309 MiB
#20 Accepted 719ms 57.363 MiB

信息

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