codeforces 960 F. Pathwalks(主席树)

NoSuchKey