B. Cycle Hit

Problem Name:
B. Cycle Hit
Site:AtCoder
Links:
Tags: