11231 - Black and white painting
Difficulty : easy
Solution Description :
Mathematical problem
Input n m c
Total embedded board = ((n-8+1)*(m-8+1))/2.
One more board can be
if (n-8+1)*(m-8+1) is odd number and c is 1.
Test your input
Your input here...
Generated output