QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#163003#7109. Traveling on the Axisucup-team1306WA 2ms3892kbC++14844b2023-09-03 18:34:482023-09-03 18:34:49

詳細信息

Test #1:

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

input:

3
101
011
11010

output:

12
15
43

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 3892kb

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
997
24
1587
69
1681
294
363
14
112
1734
827
621
1447
815
1755
1835
736
1396
6
15
566
44
1721
1587
140
848
497
644
24
1640
741
487
30
434
14
1041
1617
96
504
126
78
608
1018
783
990
6
1
321
132
816
737
216
781
46
103
243
77
578
2
100
547
260
219
197
2
197
1041
140
929
219
1
77
1740
41
363
1041
14
...

result:

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