摘要: include include include include include include include using namespace std; ///找出入度为0的有且只有一个即可以产生冠军,不用拓扑排序 int du[2005]; bool panDuan(int n)///判断所有点的 阅读全文
posted @ 2016-05-16 21:06 -梦里不知身是客 阅读(174) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2647 题意: 老板要给n个员工发工资最低工资是888; 但是工人们是有要求的 如果输入 a b 表示a的工资要比b的工资高 求出老板最少准备多少工资 include include include include 阅读全文
posted @ 2016-05-16 18:48 -梦里不知身是客 阅读(171) 评论(0) 推荐(0) 编辑