codeforces+975D. Ghosts,思维,math

NoSuchKey