codeforces 1008 D. Pave the Parallelepiped(思维+数学)

NoSuchKey