QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#625878#7561. Digit DPZhaoZiLongWA 88ms32720kbC++233.9kb2024-10-09 21:33:092024-10-09 21:33:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 0ms
memory: 29396kb

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: 88ms
memory: 32720kb

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:

846617067
385095362
85123233
913509375
206207121
157143208
893973785
202769498
853152539
962978560
997110666
241571576
974834400
887348144
757603140
633313311
63002764
944494968
707892784
314487575
922136314
356136911
431672176
526078696
21028144
481860314
693113065
282072037
831279902
444399010
479...

result:

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