Hdoj 5154 Harry and Magical Computer 【拓扑】

In reward of being yearly outstanding magic student, Harry gets a magical computer. When the computer begins to deal with a process, it will work until the ending of the processes. One day the computer got n processes to deal with. We number the processes from 1 to n. However there are some dependencies between some processes. When there exists a dependencies (a, b), it means process b must be finished before process a. By knowing all the m dependencies, Harry wants to know if the computer can finish all the n processes.

,现在睡觉的话,会做梦;而现在学习的话,会让梦实现。

Hdoj 5154 Harry and Magical Computer 【拓扑】

相关文章:

你感兴趣的文章:

标签云: