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