cf/mirror

Ugly Pairs

CF
1156B1800· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
abcd
gg
codeforces
abaca
Output
cadb
gg
codfoerces
No answer
1156B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…