Well, a very common method for graphs... (#503) - Azerbaijan Computing Olympiad