cf/mirror

Diverse Substring

CF
1073A1000· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
10
codeforces
Output
YES
code
Sample 2of 2
Input
5
aaaaa
Output
NO
1073A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)