Linh Nguyen's submission of Yet Another Flipping Problem | CodeChef