Descriptions:

Stock Arbitraging

CodeForces - 1150A