蔡子逸's submission of Reach Equilibrium | CodeChef