Silver Cow Party POJ - 3268(dij)
One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤ X ≤ N). A total of M (1 ≤ M≤ 100,000) unidirectional (one-way roa...
原创
2018-04-21 17:50:23 ·
133 阅读 ·
0 评论