Make a Palindrome
2004F2600· international gm5s512 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
432 1 341 1 1 154 2 3 1 541 2 1 2
Output
30145
58%
2004F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
432 1 341 1 1 154 2 3 1 541 2 1 2
30145