cf/mirror

OR in Matrix

CF
486B1300· pupil1s256 MB⌨ stdin/stdout

Examples

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