
最短路径+差分约束
文章平均质量分 76
yuebaba
鶸鶸鶸
展开
-
Til the Cows Come Home
Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Bessie needs her beauty sleep, so she wants to get b...原创 2018-08-15 16:32:10 · 107 阅读 · 0 评论 -
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-way roa...原创 2018-08-15 16:33:39 · 115 阅读 · 0 评论 -
Brush (V)
Tanvir returned home from the contest and got angry after seeing his room dusty. Who likes to see a dusty room after a brain storming programming contest? After checking a bit he found that there is n...原创 2018-08-15 16:34:30 · 366 阅读 · 0 评论