#4004. C++-GESP 2025-09认证四级-编程题01(排兵布阵)
C++-GESP 2025-09认证四级-编程题01(排兵布阵)
Background
Description

Format
Input
Output
Samples
4 3
0 1 1
1 0 1
0 1 1
1 1 1
4
3 5
1 0 1 0 1
0 1 0 1 0
0 1 1 1 0
3

4 3
0 1 1
1 0 1
0 1 1
1 1 1
4
3 5
1 0 1 0 1
0 1 0 1 0
0 1 1 1 0
3
By signing up a PaiBlockly编程创客平台图形模块编程软件系统 universal account, you can submit code and join discussions in all online judging services provided by us.