题目链接:http://www.lydsy.com/JudgeOnline/problem.php?id=2020 题意: FJ开车去买K份食物。 如果他的车上有X份食物,每走一里就花费X元。 FJ的城市是一条线,总共n里路,有n+1个地方,标号0~n。 FJ从0开始走,到n结束(不能往回走),要买 ...
分类:
其他好文 时间:
2017-10-05 17:17:12
阅读次数:
202
题目描述 Bessie and the herd love chocolate so Farmer John is buying them some. The Bovine Chocolate Store features N (1 <= N <= 100,000) kinds of chocola ...
分类:
其他好文 时间:
2017-09-27 09:58:32
阅读次数:
200
1618: [Usaco2008 Nov]Buying Hay 购买干草 Description 约翰的干草库存已经告罄,他打算为奶牛们采购H(1≤H≤50000)磅干草,他知道N(1≤N≤100)个干草公司,现在用1到 N给它们编号。第i个公司卖的干草包重量为Pi(1≤Pi≤5000)磅,需要的开 ...
分类:
其他好文 时间:
2017-09-02 23:24:08
阅读次数:
247
输出: zhangsan is buying [AK47]lisi is buying [B51]p1: AK47t1: B51ChinaUSA232 ...
分类:
编程语言 时间:
2017-08-27 10:10:44
阅读次数:
122
https://www.luogu.org/problem/show?pid=2983 题目描述 Bessie and the herd love chocolate so Farmer John is buying them some. The Bovine Chocolate Store fea ...
分类:
其他好文 时间:
2017-08-25 18:51:41
阅读次数:
170
Ollivanders: Makers of Fine Wands since 382 BC. Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): ...
分类:
其他好文 时间:
2017-08-24 21:32:39
阅读次数:
173
John never knew he had a grand-uncle, until he received the notary's letter. He learned that his late grand-uncle had gathered a lot of money, somewhe ...
分类:
其他好文 时间:
2017-08-19 11:05:19
阅读次数:
165
John never knew he had a grand-uncle, until he received the notary's letter. He learned that his late grand-uncle had gathered a lot of money, somewhe ...
分类:
其他好文 时间:
2017-08-16 21:47:50
阅读次数:
170
题目链接 Problem Description You are a rich person, and you think your wallet is too heavy and full now. So you want to give me some money by buying a lov ...
分类:
其他好文 时间:
2017-07-18 23:10:31
阅读次数:
257
题目描述 Farmer John is considering buying more land for the farm and has his eye on N (1 <= N <= 50,000) additional rectangular plots, each with integer ...
分类:
其他好文 时间:
2017-07-05 11:46:12
阅读次数:
243