cf/mirror

Verse Pattern

CF
722B1200· pupil1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
3
2 2 3
intel
code
ch allenge
Output
YES
Sample 2of 3
Input
4
1 2 3 1
a
bcdefghi
jklmnopqrstu
vwxyz
Output
NO
Sample 3of 3
Input
4
13 11 15 15
to be or not to be that is the question
whether tis nobler in the mind to suffer
the slings and arrows of outrageous fortune
or to take arms against a sea of troubles
Output
YES
722B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)