In the second image it is 1 cut by dimension, 1 in x axis, 1 in y axis and 1 in z axis. The last image with 2 cuts by dimension, you get 27 cubes, but you only have 26 with paint on them.
The color aspect is crucial! Next, figure out how to count all the cubes in the simplest way possible. Then the solution will be right at your fingertips.
no it doesnt
Looks great!
C Language
Problem With Test Cases:
I had an invalid array entry (empty string) and the exptected base was 299
Sorry, man
Please don't just write a spoiler and not flag it.
This comment is hidden because it contains spoiler information about the solution
tryMax - an extra variable. But it makes the solution more understandable.
Clear and understandable
In the second image it is 1 cut by dimension, 1 in x axis, 1 in y axis and 1 in z axis. The last image with 2 cuts by dimension, you get 27 cubes, but you only have 26 with paint on them.
The color aspect is crucial! Next, figure out how to count all the cubes in the simplest way possible. Then the solution will be right at your fingertips.