QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#860503#9676. Ancestorstzl_Dedicatus5450 883ms77436kbC++264.4kb2025-01-18 13:44:392025-01-18 13:44:49

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

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: 3ms
memory: 14296kb

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:

467
72
672
143
391
602
463
35
781
855
192
284
660
142
629
395
227
453
29
513
156
227
195
210
253
258
86
219
328
250
5
455
927
111
66
101
439
721
64
771
744
61
458
825
228
283
574
746
517
575
836
942
843
386
834
850
863
816
57
502
337
738
140
192
665
490
809
102
186
529
17
229
528
284
50
260
694
276
...

result:

wrong answer 1st numbers differ - expected: '452', found: '467'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Wrong Answer

Test #30:

score: 0
Wrong Answer
time: 883ms
memory: 40824kb

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:

12072
1327
12293
2452
32589
36537
38661
30635
16465
16691
47376
41155
23464
1772
18574
6852
26619
29726
8931
16380
38586
30072
22169
7640
3828
34931
17593
6479
12689
23398
11695
16582
24453
11535
3966
2207
37926
13110
29074
24196
39382
34729
37453
20935
11784
41396
44618
17827
23534
26881
43157
4148...

result:

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

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Wrong Answer

Test #67:

score: 0
Wrong Answer
time: 374ms
memory: 77436kb

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:

68153
31418
65636
18111
17459
3059
79396
98102
68289
54110
91945
20973
9003
45795
3294
10349
61955
58909
96063
81623
27068
68731
6053
12174
67230
11619
59135
49690
65068
91205
43818
20166
28367
87909
82295
81749
42414
77311
83383
8784
16490
26208
13294
62196
27518
5782
8571
65010
49330
97615
20286
7...

result:

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

Subtask #6:

score: 0
Skipped

Dependency #1:

0%