In this problem:
CHEFPOL - JULY16,
the first subtask asks us to calculate number of ways of colouring a regular polyhedron with atmost
C colours. Now there are just 5 convex regular polyhedron, which are tetrahedron, cube, octahedron, dodecahedron and icosahedron, and the number of ways of colouring them with atmost
N colours is given on this page: POLYHEDRON COLORING-WOLFRAM. However, in the example given in the question:
The input is a regular tetrahedron, and colours = 4, so the answer should be 36, but here it shows 35.
I tried submitting the code, but got an AC in only one file in subtask 1, and WA in the others. Where did I go wrong, is the given input not a regular tetrahedron, or is it something else?
Code: Submission 10811629 CHEFPOL