HackerEarth Scoring in Exam problem solution - TheCScience