QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#216864#7561. Digit DPucup-team588WA 743ms49028kbC++203.3kb2023-10-16 03:47:382023-10-16 03:47:39

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3856kb

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: 1ms
memory: 3732kb

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: 743ms
memory: 49028kb

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:

413449847
513027341
379532803
828185770
758023792
955841012
501590435
193833160
52015005
225646848
79278417
702315659
500712121
309545833
425668668
376205546
751940860
216608361
71293362
894788412
240680508
127400767
584610664
427310971
447134022
992309654
109125715
611523032
601028580
647705121
222...

result:

wrong answer 13704th numbers differ - expected: '73389231', found: '-924855122'