cf/mirror

Deletions of Two Adjacent Letters

CF
1650A800· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
5
abcde
c
abcde
b
x
y
aaaaaaaaaaaaaaa
a
contest
t
Output
YES
NO
NO
YES
YES
1650A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)