QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#232978#7561. Digit DPchenchiWA 2175ms404588kbC++206.2kb2023-10-31 08:15:452023-10-31 08:15:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 20ms
memory: 398792kb

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: 12ms
memory: 399888kb

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: 2175ms
memory: 404588kb

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:

872934602
920214720
886159706
102579144
786875383
196063282
401273302
705673356
157838504
214587250
822394493
643105417
696235626
885366111
131186835
844807124
956217231
902294855
414031939
106360112
505756167
295490061
625948760
79411935
992154003
774405155
838636986
27813301
316997609
739078512
24...

result:

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