Strange scoring

Problem Name:
Strange scoring
Site:HackerEarth
Links:
Tags: