cf/mirror

Enchanted Matrix

CF
1493F2600· international gm1s256 MB⇄ interactive

Examples

Sample 1of 1
Input
3 4
1
1
1
0
Output
? 1 2 1 1 1 3
? 1 2 2 1 2 3
? 1 2 3 1 3 3
? 1 1 1 1 1 2
! 2
1493F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)