Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
本质上,我不知道如何实现禁忌搜索以创建 Python 程序来创建时间表。你会如何解决这个问题?
如果唯一的标准是每天的课程尽可能平衡(例如,没有一天有超过两门数学课),那么这在 Python 中会是什么样子(代码方面和伪代码方面)。
谢谢!