/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void tree_build(int, int, int)':
/in/foo.cc:129:20: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     tree[now].mid=l+r>>1;
                   ~^~
/in/foo.cc: In function 'void st_add(int&, int, int, int, int)':
/in/foo.cc:189:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=l+r>>1;
             ~^~
/in/foo.cc: In function 'int query(int, int, int)':
/in/foo.cc:210:25: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=stree[now].l+stree[now].r>>1;
             ~~~~~~~~~~~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 5ms 6.375 MiB
#2 Accepted 6ms 6.25 MiB
#3 Accepted 3ms 6.328 MiB
#4 Accepted 2ms 6.25 MiB
#5 Accepted 3ms 6.188 MiB
#6 Accepted 43ms 8.375 MiB
#7 Accepted 41ms 8.301 MiB
#8 Accepted 42ms 8.305 MiB
#9 Accepted 106ms 18.555 MiB
#10 Accepted 99ms 17.176 MiB
#11 Accepted 91ms 17.051 MiB
#12 Accepted 99ms 17.641 MiB
#13 Accepted 62ms 35.285 MiB
#14 Accepted 58ms 33.301 MiB
#15 Accepted 49ms 35.305 MiB
#16 Accepted 52ms 35.301 MiB
#17 Wrong Answer 22ms 4.348 MiB
#18 Wrong Answer 20ms 4.25 MiB
#19 Wrong Answer 21ms 4.25 MiB
#20 Runtime Error 23ms 14.375 MiB

信息

递交者
类型
递交
题目
P2004 天天爱跑步
语言
C++
递交时间
2017-08-20 12:49:10
评测时间
2017-08-20 12:49:10
评测机
分数
80
总耗时
858ms
峰值内存
35.305 MiB