QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#860569#9676. Ancestorstzl_Dedicatus5450 349ms77692kbC++264.2kb2025-01-18 14:01:492025-01-18 14:03:27

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 11
Accepted
time: 0ms
memory: 9776kb

input:

7 5
3 1 0 5 3 5 1
1 3 1
5 7 2
1 5 1
4 7 1
4 7 2

output:

2
1
3
3
1

result:

ok 5 number(s): "2 1 3 3 1"

Test #2:

score: 0
Wrong Answer
time: 2ms
memory: 12348kb

input:

1000 1000
686 337 192 336 405 0 108 485 350 762 258 780 179 939 25 657 571 662 119 786 604 224 935 494 685 575 369 178 249 740 954 204 598 592 68 771 498 86 55 38 298 704 239 292 993 286 16 813 719 187 14 476 792 49 944 52 227 720 310 470 900 243 663 950 627 300 728 189 45 610 673 548 873 95 48 841 ...

output:

452
67
611
126
329
486
354
25
559
585
184
265
576
116
489
289
147
287
13
282
151
192
146
141
148
131
43
72
69
29
5
-510
-9
-786
-799
-732
-366
-54
-673
59
65
-580
-155
241
-320
-233
88
290
96
185
476
614
547
126
602
650
695
680
-40
433
301
731
-85
-17
106
133
85
-89
-91
-378
11
73
-318
-170
-403
-12...

result:

wrong answer 32nd numbers differ - expected: '15', found: '-510'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Wrong Answer

Test #30:

score: 0
Wrong Answer
time: 278ms
memory: 41320kb

input:

50000 200000
42574 43129 47328 17982 40521 6668 12729 32377 201 11940 8599 11734 18349 41045 26854 22540 9897 33419 7463 1243 47272 27135 49050 49111 22435 42539 39924 20272 5843 9308 45963 3283 31185 13692 38952 20583 15885 24802 4773 953 49907 28689 36942 23550 19449 8970 33340 31665 5407 46023 18...

output:

12045
1321
12292
2444
32443
36534
38575
30505
16464
16648
47153
41144
23401
1762
18567
6831
26486
29716
8905
16295
38569
29990
22061
7638
3820
34754
17582
6466
12632
23384
11657
16493
24434
11503
3945
2205
37806
13036
29052
24114
39158
34702
37326
20815
11766
41253
44355
17807
23452
26717
43107
4133...

result:

wrong answer 448th numbers differ - expected: '97', found: '-7302'

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Wrong Answer

Test #67:

score: 0
Wrong Answer
time: 349ms
memory: 77692kb

input:

100000 1000000
6457 23693 90928 23592 90440 75018 16865 3342 83718 16731 95103 31510 38719 27886 29093 41955 6596 46409 51839 10527 91993 61074 14405 34833 53674 42363 11490 43757 46191 6058 59164 96938 57858 40178 97523 84164 21582 72243 11267 47368 97058 6637 95208 60092 53943 16441 28363 64965 52...

output:

45916
-8553
-32310
-7450
-18839
-81624
43134
81187
-21721
-39075
56074
-26005
-90046
-43761
-95299
2335
26175
-39061
66216
73115
-62828
34494
-12349
-31370
-30309
-51624
47614
11281
57564
44526
11916
-65447
-47037
71103
8916
42511
-33897
37821
19132
-12718
-68086
5523
-63895
18042
-56362
-51931
-375...

result:

wrong answer 1st numbers differ - expected: '52956', found: '45916'

Subtask #6:

score: 0
Skipped

Dependency #1:

0%