QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#665157#7578. Salty Fishgg_gongWA 399ms74440kbC++202.2kb2024-10-22 07:46:392024-10-22 07:46:40

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 20156kb

input:

1
6 3
1 1 2 2 3
2 5 4 3 3 2
2 1 3
3 1 7
1 2 4

output:

6

result:

ok 1 number(s): "6"

Test #2:

score: -100
Wrong Answer
time: 399ms
memory: 74440kb

input:

1003
100 100
1 2 3 4 5 6 7 8 9 10 6 1 2 4 1 11 17 14 17 2 13 8 8 5 11 7 18 6 2 10 23 11 13 3 9 1 33 20 3 9 32 35 11 41 42 29 33 45 21 35 9 36 12 54 19 24 57 31 32 5 3 10 46 15 46 48 20 44 5 41 67 7 18 30 27 6 29 69 57 75 62 74 18 64 17 21 38 60 79 69 54 90 83 83 31 96 31 93 53
152 498 653 559 287 38...

output:

20180
37263
51913
71837
87651
107840
128734
146909
165387
179145
199362
223042
238604
251486
269532
287664
308212
325212
348946
367686
392500
409228
430207
449934
466384
488101
503840
525921
543724
566748
581568
603071
626568
642372
660469
677666
698902
720188
734438
746070
764405
776722
793035
8158...

result:

wrong answer 2nd numbers differ - expected: '17083', found: '37263'