HackerEarth The score game problem solution - TheCScience