Gold Balanced LineupTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 12110Accepted: 3553DescriptionFarmer John's N cows (1 ≤ N ≤ 100,000) shar...
分类:
其他好文 时间:
2014-07-24 21:44:42
阅读次数:
338
题目地址:Gold Balanced Lineup题目大意: 一个农场有N个奶牛,每个奶牛都有不同的特征,聪明的农夫给奶牛feature ID。代表奶牛所具有的特征。将feature ID 写成为K位的二进制的数,其中有1的位置代表奶牛具有此特征,0代表没有此特征。从i->j 使这个区间的奶牛所有....
分类:
其他好文 时间:
2014-07-23 16:31:01
阅读次数:
211
Description
Some of you may have played a game called 'Blocks'. There are n blocks in a row, each box has a color. Here is an example: Gold, Silver, Silver, Silver, Silver, Bronze, Bronze, Bronze, Go...
分类:
其他好文 时间:
2014-07-18 11:23:05
阅读次数:
280
Description
Byteman, one of the most deserving employee of The Goldmine of Byteland, is about to retire by the end of the year. The Goldmine management would like to reward him in acknowledgment...
分类:
其他好文 时间:
2014-07-17 10:24:12
阅读次数:
307
H - Gold Coins(2.4.1)
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
The king pays his loyal knight in gold coins. On the first ...
分类:
其他好文 时间:
2014-07-15 13:14:28
阅读次数:
275
Gold Coins
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 20913
Accepted: 13098
Description
The king pays his loyal knight in gold coins. On the first day o...
分类:
其他好文 时间:
2014-07-13 20:45:45
阅读次数:
205
题目链接:http://poj.org/problem?id=2000题目大意:求N天得到多少个金币,第一天得到1个,第二、三天得到2个,第四、五、六天得到3个、、、、以此类推,得到第N天的金币数。 1 #include 2 #include 3 #include 4 using namesp...
分类:
其他好文 时间:
2014-07-12 08:51:24
阅读次数:
176
A quarry operator in the Libyan needed to expand their crushing and screening plant in order to cope with an increase in chip and sand demand from the...
分类:
其他好文 时间:
2014-07-10 12:56:46
阅读次数:
253
Through years of experiment, we have created the new generation of crushers with different series. These crushers can all be successfully used in the ...
分类:
其他好文 时间:
2014-07-10 10:00:41
阅读次数:
231
题目POJ 3617 和 这道题题目一样,只是范围稍稍再小一点。//模拟试试#include#include#includeusing namespace std;char s[30010][2];bool bijiao(int st,int ed){ if(st==ed) re...
分类:
其他好文 时间:
2014-06-26 16:00:00
阅读次数:
201