apple pie's submission of Minimum number of coins | CodeChef