Codeforces 1209 E2 Rotate Columns (hard version) —— 状压DP

NoSuchKey