摘要:
http://poj.org/problem?id=10941.判断所给关系是否为合法的拓扑序列,若存在环,输出"Inconsistency found after %d relations."但仍继续输入。2.判断是否可以确定序列,若不可以确定,继续输入,若可以确定输出"Sorted sequence determined after %d relations: %s."后,继续输入数据。3.若输入完数据仍不可以确定序列,输出"Sorted sequence cannot be determined.". 1 #include 2 阅读全文
posted @ 2013-08-15 21:26
N_ll
阅读(206)
评论(0)
推荐(0)

浙公网安备 33010602011771号