#D1665. Cube Dividing
Cube Dividing
Cube Dividing
Example
Input
2 2 2 4 0 0 0 1 1 0 1 0 1 0 1 1
Output
4
inputFormat
Input
2 2 2 4 0 0 0 1 1 0 1 0 1 0 1 1
outputFormat
Output
4
样例
2 2 2 4
0 0 0
1 1 0
1 0 1
0 1 1
4
Example
Input
2 2 2 4 0 0 0 1 1 0 1 0 1 0 1 1
Output
4
Input
2 2 2 4 0 0 0 1 1 0 1 0 1 0 1 1
Output
4
2 2 2 4
0 0 0
1 1 0
1 0 1
0 1 1
4
By signing up a OpenJudge universal account, you can submit code and join discussions in all online judging services provided by us.