无解也要输出 --------------------!
--------------------
千万不要想我一样看到了但还是判完无解直接走人:
if (f[n] > INF) return cout << "Too hard to arrange\n", void();