QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#860532#9676. Ancestorstzl_Dedicatus5450 365ms77432kbC++264.3kb2025-01-18 13:55:232025-01-18 13:55:24

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

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: 1ms
memory: 14528kb

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
66
610
124
327
485
350
18
555
584
179
258
576
106
488
285
138
282
-5
276
142
189
137
131
142
125
24
62
69
20
-15
-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
-90
-23
106
122
78
-105
-101
-391
2
61
-318
-174
-406
...

result:

wrong answer 2nd numbers differ - expected: '67', found: '66'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Wrong Answer

Test #30:

score: 0
Wrong Answer
time: 242ms
memory: 43476kb

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:

11962
1215
12209
2342
32407
36505
38546
30461
16385
16579
47147
41122
23347
1657
18495
6737
26442
29665
8820
16220
38550
29946
21996
7549
3718
34726
17521
6364
12551
23324
11580
16410
24378
11415
3843
2103
37787
12960
29010
24064
39140
34666
37312
20758
11688
41244
44353
17732
23398
26671
43107
4133...

result:

wrong answer 1st numbers differ - expected: '12045', found: '11962'

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Wrong Answer

Test #67:

score: 0
Wrong Answer
time: 365ms
memory: 77432kb

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%