codeforces gym Graph and Cycles

NoSuchKey