Beautiful Palindromes
2162E1600· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
54 11 3 3 44 22 2 2 25 14 1 5 2 26 31 2 3 4 5 65 33 2 5 2 3
Output
21 333 4 14 1 5
58%
2162E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)