Codeforces Round #637 (Div. 2) - Thanks, Ivan Belonogov! F——Nastya and Time Machine dfs+构造

NoSuchKey