Anti-Palindromize
884F2500· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
8abacabac1 1 1 1 1 1 1 1
Output
8
Sample 2of 3
Input
8abaccaba1 2 3 4 5 6 7 8
Output
26
Sample 3of 3
Input
8abacabca1 2 3 4 4 3 2 1
Output
17
58%
884F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…