Solution:
Volume of big cuboid
Volume of small cuboid =
So we get cuboid volume /small cube volume
The cubes hidden inside and not seen at all are
Small cubes which are seen on the surface of big cuboid =588-240=348
These many cubes have pink on at least one side