QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#482566#7109. Traveling on the AxisZhaoZiLongWA 1ms7784kbC++172.8kb2024-07-17 20:06:472024-07-17 20:06:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
101
011
11010

output:

12
15
43

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 7784kb

input:

6107
1010101
010110100110101
1010
1010101010010101010
101011
0101101011010101010
0101101011
11011010101
010
1011010
10110101010101010100
010101010110101
10101010101011
0101010101010101011
00101010011000
1010101010010110110
01010101001010101010
101010101010101
100100101010101010
01
011
0101010100101
...

output:

96
889
380
1515
669
1567
729
741
251
428
1702
1031
859
1485
1016
1653
1755
961
1387
342
423
776
334
1689
1534
748
998
679
778
292
1640
988
774
302
737
233
1143
1500
733
803
432
351
859
1066
876
1041
240
119
552
354
891
832
467
874
356
404
477
284
684
107
352
659
450
396
386
60
386
1109
532
962
513
7...

result:

wrong answer 3rd lines differ - expected: '24', found: '380'