/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void pushup(int)':
/in/foo.cc:31:45: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
     tr[now].min=min(tr[now<<1].min,tr[now<<1+1].min);
                                            ~^~
/in/foo.cc: In function 'void pushdown(int)':
/in/foo.cc:38:14: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
     tr[now<<1+1].lazy+=tr[now].lazy;
             ~^~
/in/foo.cc:40:14: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
     tr[now<<1+1].min-=tr[now].lazy;
             ~^~
/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:55:17: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
     build(now<<1+1,tr[now].mid+1,r);
                ~^~
/in/foo.cc: In function 'void update(int, int, int, int, int, int)':
/in/foo.cc:71:22: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
         update(now<<1+1,mid+1,r,le,ri,x);
                     ~^~
# 状态 耗时 内存占用
#1 Runtime Error 15ms 10.25 MiB
#2 Runtime Error 16ms 10.359 MiB
#3 Runtime Error 11ms 10.258 MiB
#4 Runtime Error 16ms 10.25 MiB
#5 Runtime Error 18ms 10.34 MiB
#6 Runtime Error 19ms 10.375 MiB
#7 Runtime Error 20ms 10.324 MiB
#8 Runtime Error 22ms 10.25 MiB
#9 Runtime Error 7ms 10.363 MiB
#10 Runtime Error 6ms 10.363 MiB
#11 Runtime Error 5ms 10.332 MiB
#12 Runtime Error 4ms 10.324 MiB
#13 Runtime Error 4ms 10.25 MiB
#14 Runtime Error 4ms 10.375 MiB
#15 Runtime Error 6ms 10.25 MiB
#16 Runtime Error 6ms 10.34 MiB
#17 Runtime Error 5ms 10.363 MiB
#18 Runtime Error 7ms 10.25 MiB
#19 Runtime Error 6ms 10.348 MiB
#20 Runtime Error 5ms 10.254 MiB

信息

递交者
类型
递交
题目
P1782 借教室
语言
C++
递交时间
2018-07-17 16:50:47
评测时间
2018-07-17 16:50:47
评测机
分数
0
总耗时
210ms
峰值内存
10.375 MiB