cf/mirror

Restore Cube

CF
464B2000· candidate master1s256 MB⌨ stdin/stdout

Examples

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