Expected Earnings

Problem Name:
Expected Earnings
Site:HackerEarth
Links:
Tags:
Problem setters: