http://acm.hdu.edu.cn/showproblem.php?pid=2094 求只存在一个入度为0的点 如果存在 则Yes 如果不存在 则No ac代码 http://paste.ubuntu.com/8520194/