/ Vijos /

记录详情

Wrong Answer

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 add(int, int, ll)':
foo.cc:43:12: warning: operation on 'l' may be undefined [-Wsequence-point]
         a[l>>=1]=max(a[l],a[l^1])+b[l>>1];
           ~^~~~
foo.cc:43:12: warning: operation on 'l' may be undefined [-Wsequence-point]
foo.cc:44:12: warning: operation on 'r' may be undefined [-Wsequence-point]
         a[r>>=1]=max(a[r],a[r^1])+b[r>>1];
           ~^~~~
foo.cc:44:12: warning: operation on 'r' may be undefined [-Wsequence-point]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 999414, expect 1000584. 19ms 3.734 MiB
#2 Wrong Answer Read 999956, expect 996891. 24ms 4.578 MiB
#3 Wrong Answer Read 999101, expect 993383. 14ms 4.551 MiB
#4 Wrong Answer Read 999944, expect 991677. 6ms 3.453 MiB
#5 Wrong Answer Read 997902, expect 999761. 25ms 4.918 MiB
#6 Wrong Answer Read 994801, expect 998678. 20ms 4.109 MiB
#7 Wrong Answer Read 998301, expect 992564. 21ms 4.316 MiB
#8 Wrong Answer Read 999777, expect 991475. 21ms 4.203 MiB
#9 Wrong Answer Read 991522, expect 992927. 22ms 3.797 MiB
#10 Wrong Answer Read 999198, expect 994700. 30ms 4.758 MiB

信息

递交者
类型
递交
题目
P1659 河蟹王国
语言
C++
递交时间
2021-11-30 10:58:05
评测时间
2021-11-30 10:58:05
评测机
分数
0
总耗时
207ms
峰值内存
4.918 MiB