Concept:
Counting corner cubes with three faces painted.
Step 1: Understand structure.
Cuboid dimensions: 6 × 4 × 1 → divided into 1 cm cubes → total cubes = 24
Step 2: Identify colored faces.
Each pair of opposite faces has a different color:
Black (4×1), Red (6×1), Green (6×4)
Step 3: Find cubes with all three colors.
Cubes having red, green and black colors must lie at corners where three differently colored faces meet.
Step 4: Count such cubes.
A cuboid has 8 corners, but since height = 1, only 4 distinct corner cubes exist.
Step 5: Final answer.
Thus, number of cubes having all three colors = 4.