The score game

Problem Name:
The score game
Site:HackerEarth
Links:
Tags:
Problem setters: