题意 给出n个点,m组关系L,R,D,L在R的左边距离D,判断是否存在n个人的位置满足m组关系 分析 Consider the following directed graph G: There are N vertices numbered 1,2,...,N. For each i, there are an edge from vertex Li to vertex Ri with weight Di, and an edge from vertex Ri to vertex Li wit…