cf/mirror

Three Blocks Palindrome (easy version)

CF
1335E11700· expert3s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6
8
1 1 2 2 3 2 1 1
3
1 3 3
4
1 10 10 1
1
26
2
2 1
3
1 1 1
Output
7
2
4
1
1
3
1335E1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)