/ 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 4ms 2.367 MiB
#2 Accepted 27ms 2.25 MiB
#3 Runtime Error 5ms 8.25 MiB
#4 Runtime Error 12ms 8.25 MiB
#5 Runtime Error 11ms 8.328 MiB
#6 Runtime Error 8ms 8.332 MiB
#7 Runtime Error 31ms 12.305 MiB
#8 Runtime Error 37ms 14.43 MiB
#9 Runtime Error 22ms 16.375 MiB
#10 Runtime Error 20ms 16.328 MiB
#11 Runtime Error 15ms 14.359 MiB
#12 Runtime Error 15ms 12.309 MiB
#13 Runtime Error 20ms 14.422 MiB
#14 Runtime Error 18ms 12.383 MiB
#15 Runtime Error 130ms 15.508 MiB
#16 Runtime Error 133ms 15.715 MiB
#17 Runtime Error 155ms 16.375 MiB
#18 Runtime Error 115ms 18.129 MiB
#19 Runtime Error 126ms 15.559 MiB
#20 Runtime Error 136ms 15.375 MiB

信息

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