The Bottom of a Graph

Problem Name:
The Bottom of a Graph
Site:Spoj
Links:
Tags:
Problem setters: