cf/mirror

Berland Crossword

CF
1494B1400· specialist2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
5 2 5 3 1
3 0 0 0 0
4 4 1 4 0
2 1 1 1 1
Output
YES
YES
NO
YES
1494B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)