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:
![Example][1]
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
[1]: https://s31.postimg.org/p0ev8uhuz/Screenshot_from_2016_07_13_19_41_43.png