F. Graph Without Long Directed Paths Codeforces Round #550 (Div. 3)

NoSuchKey