随笔分类 - USACO
record my road on USACO
摘要:题目来源:USACO 1.1原题目:Friday the ThirteenthIs 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 ofthe week? To answer this question, write a program that will compute the frequency thatthe 13th of each month lands on Sunday, Mon
阅读全文
摘要:题目来源:USACO 1.1原题目: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.Likewise, each friend might or might not receive money from any or all of the othe
阅读全文
浙公网安备 33010602011771号