lorenzo专题

Codeforces697C Lorenzo Von Matterhorn

Lorenzo Von Matterhorn Barney lives in NYC. NYC has infinite number of intersections numbered with positive integers starting from 1. There exists a bidirectional road between intersections i and 2i