USACO
lzhf01
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Your Ride Is Here
今天是我第一次在USACO上做题,虽然这是一个很简单很简单的题目,但是这个传说中USA培养参加IOI参赛选手的OJ,不仅让我有点向往啊。 :P 这个OJ挺让人喜欢的。我很少自己认认真真的想题,也不少的OJ上都只是过过场,最近看了不少退役大牛的博文,顿时让我感到自己是多么的可笑,让我这只井里之蛙深刻的明白自己是多么的肤浅,感受到与其它人的巨大差异,这种差异不是在目前的能力上,而是在思想意识、觉...2011-06-03 13:08:14 · 124 阅读 · 0 评论 -
Greedy Gift Givers
Greedy Gift Givers A 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 frien...2011-06-03 18:27:12 · 126 阅读 · 0 评论 -
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, wri...2011-06-03 19:23:23 · 110 阅读 · 0 评论 -
Barn Repair
[size=large][align=center]Barn Repair[/align][/size] [size=medium]题目大意:有S个牛栏,其中有C头牛在里面,一些牛栏有牛,一些没有,最大有M块的板子,每块板子的长度可以任意长,用这些板子去拦住所有的牛,使它们都被围住。求最小会有多少牛栏会被围住。 算法分析:isin[S]:表示第i个牛栏里是否有牛。 ...2011-06-17 19:32:35 · 142 阅读 · 0 评论 -
1.3 Calf Flac
[size=large][align=center]Calf Flac[/align][/size] To make the programming easier, we keep two copies of the text: the original, and one with the punctuation stripped out. We find the biggest pal...2011-06-18 18:08:35 · 126 阅读 · 0 评论
分享