/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int query(int, int, int, int)':
/in/foo.cc:27:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=l+r>>1,tmp=mid-l+1-sum[ls[rt]];
             ~^~
/in/foo.cc: In function 'void change(int&, int, int, int)':
/in/foo.cc:33:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if(!rt)rt=++tot;++sum[rt];
     ^~
/in/foo.cc:33:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if(!rt)rt=++tot;++sum[rt];
                     ^~
/in/foo.cc:35:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=l+r>>1;
             ~^~
# 状态 耗时 内存占用
#1 Accepted 11ms 14.203 MiB
#2 Accepted 13ms 14.605 MiB
#3 Accepted 14ms 11.625 MiB
#4 Accepted 8ms 11.75 MiB
#5 Accepted 8ms 14.957 MiB
#6 Accepted 8ms 11.75 MiB
#7 Wrong Answer 11ms 12.125 MiB
#8 Accepted 10ms 14.332 MiB
#9 Wrong Answer 9ms 11.832 MiB
#10 Wrong Answer 11ms 12.234 MiB
#11 Accepted 117ms 16.305 MiB
#12 Accepted 131ms 16.113 MiB
#13 Accepted 391ms 30.855 MiB
#14 Accepted 358ms 30.98 MiB
#15 Wrong Answer 348ms 28.48 MiB
#16 Wrong Answer 402ms 30.73 MiB
#17 Wrong Answer 173ms 28.617 MiB
#18 Wrong Answer 156ms 27.867 MiB
#19 Wrong Answer 491ms 54.52 MiB
#20 Wrong Answer 501ms 57.32 MiB

信息

递交者
类型
递交
题目
P2033 列队
语言
C++
递交时间
2018-07-19 09:47:47
评测时间
2018-07-19 09:47:47
评测机
分数
55
总耗时
3179ms
峰值内存
57.32 MiB