Codeforces 993C. Careful Maneuvering(详细注解)

NoSuchKey