cf/mirror

Letters Rearranging

CF
1093B900· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
aa
abacaba
xdd
Output
-1
abaacba
xdd
1093B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)