摘要:
P2858 [USACO06FEB]奶牛零食Treats for the Cows 题目描述 FJ has purchased N (1 include using namespace std; const int Max = 2005; int a[Max]; int f[Max][Max]; i 阅读全文
posted @ 2019-10-19 17:18
acioi
阅读(323)
评论(0)
推荐(0)
摘要:
P1508 Likecloud 吃、吃、吃 题目背景 问世间,青春期为何物? 答曰:“甲亢,甲亢,再甲亢;挨饿,挨饿,再挨饿!” 题目描述 正处在某一特定时期之中的李大水牛由于消化系统比较发达,最近一直处在饥饿的状态中。某日上课,正当他饿得头昏眼花之时,眼前突然闪现出了一个n m(n and m i 阅读全文
posted @ 2019-10-19 17:00
acioi
阅读(213)
评论(0)
推荐(0)
摘要:
P2983 [USACO10FEB]购买巧克力Chocolate Buying 题目描述 Bessie and the herd love chocolate so Farmer John is buying them some. The Bovine Chocolate Store feature 阅读全文
posted @ 2019-10-19 16:59
acioi
阅读(319)
评论(0)
推荐(0)
摘要:
P1474 货币系统 Money Systems 题目描述 母牛们不但创建了它们自己的政府而且选择了建立了自己的货币系统。由于它们特殊的思考方式,它们对货币的数值感到好奇。 传统地,一个货币系统是由1,5,10,20 或 25,50, 和 100的单位面值组成的。 母牛想知道有多少种不同的方法来用货 阅读全文
posted @ 2019-10-19 14:43
acioi
阅读(707)
评论(0)
推荐(0)
摘要:
P5146 最大差值 题目描述 HKE最近热衷于研究序列,有一次他发现了一个有趣的问题: 对于一个序列$A_1,A_2\cdots A_n$,找出两个数$i,j$,$1\leq i include using namespace std; const int Max = 1000006; int 阅读全文
posted @ 2019-10-19 14:27
acioi
阅读(629)
评论(0)
推荐(0)
浙公网安备 33010602011771号