Niyaz Nigmatullin's submission of Cosine Partition Function | CodeChef