D. 54
Feedback When a 5 cc cube is sliced into 1 cc cubes, we will get 5*5*5 = 125 1 cc cubes.
In each side of the larger cube, the smaller cubes on the edges will have more than one of their sides painted.
Therefore, the cubes which are not on the edge of the larger cube and that lie on the facing sides of the larger cube will have exactly one side painted.
In each face of the larger cube, there will be 5*5 = 25 cubes. Of these, there will be 16 cubes on the edge and 3*3 = 9 cubes which are not on the edge.
Therefore, there will be 9 1-cc cubes per face that will have exactly one of their sides painted.
In total, there will be 9*6 = 54 such cubes.