/ Vijos /

记录详情

Time Exceeded

/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 Time Exceeded ≥2004ms ≥8.0 MiB
#2 Time Exceeded ≥2005ms ≥7.617 MiB
#3 Time Exceeded ≥2003ms ≥8.988 MiB
#4 Time Exceeded ≥2000ms ≥8.609 MiB
#5 Time Exceeded ≥2003ms ≥7.875 MiB
#6 Time Exceeded ≥2006ms ≥7.469 MiB
#7 Time Exceeded ≥2007ms ≥7.609 MiB
#8 Time Exceeded ≥2005ms ≥8.0 MiB
#9 Time Exceeded ≥2007ms ≥8.113 MiB
#10 Time Exceeded ≥2002ms ≥7.352 MiB
#11 Time Exceeded ≥2004ms ≥7.125 MiB
#12 Time Exceeded ≥2003ms ≥9.0 MiB
#13 Time Exceeded ≥2027ms ≥7.5 MiB
#14 Time Exceeded ≥2027ms ≥7.625 MiB
#15 Time Exceeded ≥2025ms ≥8.352 MiB
#16 Time Exceeded ≥2025ms ≥8.625 MiB
#17 Time Exceeded ≥2006ms ≥9.0 MiB
#18 Time Exceeded ≥2007ms ≥8.852 MiB
#19 Time Exceeded ≥2002ms ≥7.75 MiB
#20 Time Exceeded ≥2004ms ≥9.117 MiB

信息

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