上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页
摘要: 3016: [Usaco2012 Nov]Clumsy CowsTime Limit:1 SecMemory Limit:128 MBSubmit:91Solved:69[Submit][Status][Discuss]DescriptionBessie the cow is trying to t... 阅读全文
posted @ 2015-04-05 19:06 HansBug 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 3359: [Usaco2004 Jan]矩形Time Limit:10 SecMemory Limit:128 MBSubmit:8Solved:5[Submit][Status][Discuss]Description给出N个矩形(1≤N≤100)和它的长和宽(不超过1000),写一个程序找出最... 阅读全文
posted @ 2015-04-05 16:43 HansBug 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 1593: [Usaco2008 Feb]Hotel 旅馆Time Limit:10 SecMemory Limit:64 MBSubmit:391Solved:228[Submit][Status][Discuss]Description奶牛们最近的旅游计划,是到苏必利尔湖畔,享受那里的湖光山色,... 阅读全文
posted @ 2015-04-05 16:02 HansBug 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 3360: [Usaco2004 Jan]算二十四Time Limit:10 SecMemory Limit:128 MBSubmit:6Solved:6[Submit][Status][Discuss]Description写一个程序,给出D(2≤D≤10)个数字,按原顺序在数字间加+,一,×算出... 阅读全文
posted @ 2015-04-05 14:09 HansBug 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 3361: [Usaco2004 Jan]培根距离Time Limit:10 SecMemory Limit:128 MBSubmit:16Solved:13[Submit][Status][Discuss]Description贝茜和其他奶牛联系是通过一连串的中间奶牛传递的,所以当第一头牛和贝茜联... 阅读全文
posted @ 2015-04-05 13:16 HansBug 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 1342: [Baltic2007]Sound静音问题Time Limit:5 SecMemory Limit:162 MBSubmit:710Solved:307[Submit][Status][Discuss]Description静音问题 数字录音中,声音是用表示空气压力的数字序列描述的,序列... 阅读全文
posted @ 2015-04-04 21:05 HansBug 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 月赛:以07年open为例,网站如下http://contest.usaco.org/OPEN07其他的格式是http://contest.usaco.org/月份(月份的英文前三位,比如1月是JAN,公开赛是OPEN,注意要大写)+年份(年份四位数字的最后两位)比如08年三月的是:http://c... 阅读全文
posted @ 2015-04-04 18:00 HansBug 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 1711: [Usaco2007 Open]Dingin吃饭Time Limit:5 SecMemory Limit:64 MBSubmit:560Solved:290[Submit][Status][Discuss]Description农夫JOHN为牛们做了很好的食品,但是牛吃饭很挑食. 每一头... 阅读全文
posted @ 2015-04-04 16:24 HansBug 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 1574: [Usaco2009 Jan]地震损坏DamageTime Limit:10 SecMemory Limit:64 MBSubmit:425Solved:232[Submit][Status][Discuss]Description农夫John的农场遭受了一场地震.有一些牛棚遭到了损坏,... 阅读全文
posted @ 2015-04-04 13:42 HansBug 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 1590: [Usaco2008 Dec]Secret Message 秘密信息Time Limit:5 SecMemory Limit:32 MBSubmit:209Solved:143[Submit][Status][Discuss]Description贝茜正在领导奶牛们逃跑.为了联络,奶牛们... 阅读全文
posted @ 2015-04-04 11:29 HansBug 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 1751: [Usaco2005 qua]Lake CountingTime Limit:5 SecMemory Limit:64 MBSubmit:190Solved:150[Submit][Status][Discuss]DescriptionDue to recent rains, water... 阅读全文
posted @ 2015-04-03 22:46 HansBug 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 输入N,输出phi(N)这样的单个值欧拉函数程序一般见于部分数论题,以及有时候求逆元且取模的数不是质数的情况(逆元:A/B=A*Bphi(p)-1(mod p),一般常见题中p是质数,phi(p)-1=p-2)(Tip:我是来水经验的不解释,不过话说真的好久没写这个了TT) 1 var i:int6... 阅读全文
posted @ 2015-04-03 22:23 HansBug 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 2620: [Usaco2012 Mar]Haybale RestackingTime Limit:5 SecMemory Limit:128 MBSubmit:201Solved:111[Submit][Status][Discuss]DescriptionFarmer John has just... 阅读全文
posted @ 2015-04-03 22:08 HansBug 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 1712: [Usaco2007 China]Summing Sums 加密Time Limit:5 SecMemory Limit:64 MBSubmit:338Solved:127[Submit][Status][Discuss]Description那N只可爱的奶牛刚刚学习了有关密码的许多算法... 阅读全文
posted @ 2015-04-02 23:37 HansBug 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 如题,实现一个程序,输入N个数,进行如下维护:1.1 x y 求[x,y]区间的和2.2 x y 求[x,y]区间的平方和3.3 x y z 将[x,y]区间全部加上z4.4 x y 求[x,y]区间内两两数相乘的积之和(其实4是1、2的简单组合)如下: 1 var 2 i,j,k,l,m... 阅读全文
posted @ 2015-04-02 21:05 HansBug 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 1709: [Usaco2007 Oct]Super Paintball超级弹珠Time Limit:5 SecMemory Limit:64 MBSubmit:339Solved:264[Submit][Status]Description奶牛们最近从著名的奶牛玩具制造商Tycow那里,买了一套仿... 阅读全文
posted @ 2015-03-03 21:58 HansBug 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 1011: [HNOI2008]遥远的行星Time Limit:10 SecMemory Limit:162 MBSecSpecial JudgeSubmit:2241Solved:793[Submit][Status]Description直线上N颗行星,X=i处有行星i,行星J受到行星I的作用力... 阅读全文
posted @ 2015-03-03 20:10 HansBug 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 2015: [Usaco2010 Feb]Chocolate GivingTime Limit:10 SecMemory Limit:162 MBSubmit:269Solved:183[Submit][Status]DescriptionFarmer John有B头奶牛(1nil do36 ... 阅读全文
posted @ 2015-02-23 23:57 HansBug 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 2060: [Usaco2010 Nov]Visiting Cows 拜访奶牛Time Limit:3 SecMemory Limit:64 MBSubmit:252Solved:185[Submit][Status]Description经过了几周的辛苦工作,贝茜终于迎来了一个假期.作为奶牛群中最... 阅读全文
posted @ 2015-02-23 23:46 HansBug 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 2020: [Usaco2010 Jan]Buying Feed, IITime Limit:3 SecMemory Limit:64 MBSubmit:220Solved:162[Submit][Status]Description(buying.pas/buying.in/buying.out ... 阅读全文
posted @ 2015-02-23 23:44 HansBug 阅读(201) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页