P1821 [USACO07FEB]銀牛派對Silver Cow Party

題目描述 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-w
相關文章
相關標籤/搜索