QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#159040#7109. Traveling on the Axisucup-team1061#WA 3ms4772kbC++201.2kb2023-09-02 17:22:002023-09-02 17:22:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3604kb

input:

3
101
011
11010

output:

12
15
43

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 4772kb

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
968
24
1560
59
1609
201
351
14
109
736
836
335
631
617
1887
1791
736
1344
6
15
578
44
1825
1560
140
933
497
394
24
1640
781
477
29
470
14
1041
1607
96
504
117
81
578
1006
849
990
6
1
321
131
792
498
221
770
42
83
180
75
370
2
100
574
176
213
141
2
141
1041
140
996
213
1
80
1680
41
353
1041
14
190...

result:

wrong answer 2nd lines differ - expected: '889', found: '968'