Maximum profit

Problem Name:
Maximum profit
Site:HackerEarth
Links:
Tags:
Problem setters: