QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#184798#7109. Traveling on the AxisZhangYiDeWA 4ms4440kbC++20697b2023-09-21 12:49:152023-09-21 12:49:15

詳細信息

Test #1:

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

input:

3
101
011
11010

output:

12
15
43

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 4ms
memory: 4440kb

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
945
24
1605
69
1567
279
345
14
106
1721
791
621
1447
862
1705
1854
736
1430
6
15
578
44
1689
1605
140
833
497
668
24
1640
767
509
33
425
14
1041
1511
96
504
140
75
560
985
797
945
6
1
321
159
830
813
206
795
50
109
225
74
602
2
100
559
269
207
197
2
197
1041
140
945
207
1
74
1688
41
343
1041
14
1...

result:

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