QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#232984#7561. Digit DPchenchiWA 2176ms403228kbC++205.8kb2023-10-31 08:35:512023-10-31 08:35:51

详细

Test #1:

score: 100
Accepted
time: 8ms
memory: 399360kb

input:

3 3
1 2 4
2 000 111
1 010 101 1
2 000 111

output:

1960
3040

result:

ok 2 number(s): "1960 3040"

Test #2:

score: 0
Accepted
time: 20ms
memory: 398512kb

input:

2 2
1 1
2 00 10
2 00 11

output:

0
2

result:

ok 2 number(s): "0 2"

Test #3:

score: -100
Wrong Answer
time: 2176ms
memory: 403228kb

input:

99 49952
470888 74578 802746 396295 386884 721198 628655 722503 207868 647942 87506 792718 761498 917727 843338 908043 952768 268783 375312 414369 319712 96230 277106 168102 263554 936674 246545 667941 198849 268921 191459 436316 134606 802932 515506 837311 465964 394766 17626 650419 984050 790137 4...

output:

879999711
317424570
886159706
214252534
382239842
782223407
309711632
242592113
157838504
539481159
822394493
643105417
936131099
212207874
419221847
880528002
956217231
902294855
807311116
258856551
271259536
626308524
625948760
430299191
437307460
422278282
14698614
27813301
165848913
739078512
82...

result:

wrong answer 1st numbers differ - expected: '413449847', found: '879999711'