cf/mirror

Tricky Template

CF
1922A800· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
1
a
b
c
2
aa
bb
aa
10
mathforces
luckforces
adhoccoder
3
acc
abd
abc
Output
YES
NO
YES
NO
1922A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)