USACO
文章平均质量分 81
Snakeflute
鲜血与雷鸣
展开
-
USACO 1.1.2 - Greedy Gift Givers(模拟)
Greedy Gift GiversA group of NP (2 ≤ NP ≤ 10) uniquely named friends has decided to exchange gifts of money. Each of these friends might or might not give some money to any or all of the other friends.原创 2016-09-03 12:15:23 · 295 阅读 · 0 评论 -
USACO 1.1.3 - Friday the Thirteenth(模拟)
Friday the Thirteenth Is Friday the 13th really an unusual event?That is, does the 13th of the month land on a Friday less often than on any other day of the week? To answer this question, write a pro原创 2016-09-02 21:20:38 · 369 阅读 · 0 评论 -
USACO 1.1.4 - Broken Necklace(DP)
Broken NecklaceYou have a necklace of N red, white, or blue beads (3<=N<=350) some of which are red, others blue, and others white, arranged at random. Here are two examples for n=29: 1 2原创 2016-09-04 21:58:02 · 304 阅读 · 0 评论 -
USACO 1.2.1 - MIlking Cows(模拟)
Milking Cows Three farmers rise at 5 am each morning and head for the barn to milk three cows. The first farmer begins milking his cow at time 300 (measured in seconds after 5 am) and ends at time 100原创 2016-09-05 21:10:08 · 345 阅读 · 0 评论