记录详情

Wrong Answer

foo.cc: In function 'int A(int, int)':
foo.cc:11:23: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
   11 |                 if(a[l]==a[l+k])
      |                    ~~~^
foo.cc:7:13: note: 'a' declared here
    7 |         int a[1000000];int t;
      |             ^
foo.cc:24:16: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
   24 |         return t;
      |                ^
In function 'int A(int, int)',
    inlined from 'int main()' at foo.cc:42:20:
foo.cc:11:23: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
   11 |                 if(a[l]==a[l+k])
      |                    ~~~^
foo.cc: In function 'int main()':
foo.cc:7:13: note: 'a' declared here
    7 |         int a[1000000];int t;
      |             ^
foo.cc:42:34: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
   42 |                 cout<<A(l[k],r[k]);
      |                                  ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 5039640503964050..., expect 18. 5ms 384.0 KiB
#2 Wrong Answer Read 5039640503964050..., expect 18. 4ms 384.0 KiB
#3 Wrong Answer Read 5039640503964050..., expect 18. 4ms 384.0 KiB
#4 Wrong Answer Read 5039640503964050..., expect 18. 5ms 384.0 KiB
#5 Wrong Answer Read 5039640503964050..., expect 18. 3ms 384.0 KiB
#6 Wrong Answer Read 5039640503964050..., expect 18. 2ms 384.0 KiB
#7 Wrong Answer Read 5039640503964050..., expect 18. 2ms 384.0 KiB
#8 Wrong Answer Read 5039640503964050..., expect 18. 2ms 384.0 KiB
#9 Wrong Answer Read 5039640503964050..., expect 18. 2ms 384.0 KiB
#10 Wrong Answer Read 5039640503964050..., expect 18. 2ms 384.0 KiB
#11 Wrong Answer Read 5039640503964050..., expect 18. 2ms 384.0 KiB
#12 Wrong Answer Read 5039640503964050..., expect 18. 2ms 384.0 KiB
#13 Wrong Answer Read 5039640503964050..., expect 18. 2ms 256.0 KiB
#14 Wrong Answer Read 5039640503964050..., expect 18. 1ms 256.0 KiB
#15 Wrong Answer Read 5039640503964050..., expect 18. 2ms 384.0 KiB
#16 Wrong Answer Read 5039640503964050..., expect 620. 158ms 3.617 MiB
#17 Wrong Answer Read 5039640503964050..., expect 631. 157ms 3.617 MiB
#18 Wrong Answer Read 5039640503964050..., expect 640. 177ms 3.617 MiB
#19 Wrong Answer Read 5039640503964050..., expect 408. 238ms 3.742 MiB
#20 Wrong Answer Read 5039640503964050..., expect 529. 159ms 3.617 MiB
#21 Wrong Answer Read 5039640503964050..., expect 463. 166ms 3.617 MiB
#22 Wrong Answer Read 5039640503964050..., expect 707. 160ms 3.617 MiB
#23 Wrong Answer Read 5039640503964050..., expect 611. 184ms 3.621 MiB
#24 Wrong Answer Read 5039640503964050..., expect 698. 162ms 3.621 MiB
#25 Wrong Answer Read 5039640503964050..., expect 620. 162ms 3.617 MiB
#26 Wrong Answer Read 5039640503964050..., expect 652. 185ms 3.617 MiB
#27 Wrong Answer Read 5039640503964050..., expect 650. 164ms 3.621 MiB
#28 Wrong Answer Read 5039640503964050..., expect 635. 161ms 3.617 MiB
#29 Wrong Answer Read 5039640503964050..., expect 694. 200ms 3.617 MiB
#30 Wrong Answer Read 5039640503964050..., expect 441. 200ms 3.617 MiB

信息

递交者
类型
递交
题目
P1390 Problem 1B. 完全参差序列
比赛
悬赏令第一周
语言
C++
递交时间
2022-09-25 20:02:40
评测时间
2022-09-26 18:05:05
评测机
分数
0
总耗时
2685ms
峰值内存
3.742 MiB