Title
59C1600· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3a?c
Output
IMPOSSIBLE
Sample 2of 3
Input
2a??a
Output
abba
Sample 3of 3
Input
2?b?a
Output
abba
58%
59C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
3a?c
IMPOSSIBLE
2a??a
abba
2?b?a
abba