cf/mirror

Short Sort

CF
1873A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6
abc
acb
bac
bca
cab
cba
Output
YES
YES
YES
NO
NO
YES
1873A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)