/ Vijos /

记录详情

Wrong Answer

foo.cc:11:18: warning: overflow in implicit constant conversion [-Woverflow]
 const int inf=1LL<<60;
               ~~~^~~~
foo.cc: In function 'void write(ll, char)':
foo.cc:26:13: warning: array subscript has type 'char' [-Wchar-subscripts]
     do a[++s]=x%10|48;while(x/=10);
             ^
foo.cc:27:19: warning: array subscript has type 'char' [-Wchar-subscripts]
     do putchar(a[s]);while(--s);
                   ^
foo.cc: In function 'void build(int, int, int)':
foo.cc:36:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int m=l+r>>1;
               ~^~
foo.cc: In function 'void add(int, int, int, int, int, ll)':
foo.cc:56:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int m=l+r>>1;
               ~^~
foo.cc: In function 'll ask(int, int, int, int, int)':
foo.cc:69:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int m=l+r>>1;
               ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect -212182. 32ms 1.758 MiB
#2 Wrong Answer Read 0, expect -115474. 41ms 2.914 MiB
#3 Accepted 22ms 4.906 MiB
#4 Accepted 8ms 2.766 MiB
#5 Wrong Answer Read 0, expect -81404. 47ms 4.902 MiB
#6 Accepted 36ms 2.895 MiB
#7 Accepted 40ms 2.883 MiB
#8 Wrong Answer Read 0, expect -98607. 40ms 2.91 MiB
#9 Wrong Answer Read 0, expect -42834. 47ms 1.281 MiB
#10 Wrong Answer Read 0, expect -16566. 66ms 2.91 MiB

信息

递交者
类型
递交
题目
P1659 河蟹王国
语言
C++
递交时间
2021-11-30 10:46:37
评测时间
2021-11-30 10:46:37
评测机
分数
40
总耗时
383ms
峰值内存
4.906 MiB