cf/mirror

Slavic's Exam

CF
1999D1100· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
5
?????
xbx
ab??e
abcde
ayy?x
a
ab??e
dac
paiu
mom
Output
YES
xabax
YES
abcde
YES
ayyyx
NO
NO
1999D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)