线段树+二分区间
用线段树维护某一段内还有多少个花瓶可以用,二分确定插入的左右界.....
Vases and Flowers
Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)
Total Submission(s): 1782 Accepted Submis...
分类:
其他好文 时间:
2014-07-22 23:05:54
阅读次数:
307
vxworks for x86读取bios时间的解决方法
系统时间与bsp有关,在vzworks for x86系列的目标没有直接读取RTC(实时时钟控制器)的函数,用time.h中的函数读到的始终是 00:00:00, Jan. 1 1970.
所以在x86系列的机器中,我们可以从bios中读取当前的时钟。用sysInByte(),sysOutByte(),在70,和71端口读取或写b...
分类:
移动开发 时间:
2014-07-22 23:04:35
阅读次数:
844
点击打开链接
Road Construction
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 8168
Accepted: 4106
Description
It's almost summer time, and that means that...
分类:
其他好文 时间:
2014-07-22 23:04:33
阅读次数:
277
Agri-Net
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 36780
Accepted: 14825
Description
Farmer John has been elected mayor of his town! One of his campa...
分类:
其他好文 时间:
2014-07-22 23:04:15
阅读次数:
229
密码
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 28265 Accepted Submission(s): 11263
Problem Description
网上流传一句话:"常在网上飘啊,哪...
分类:
其他好文 时间:
2014-07-22 23:03:15
阅读次数:
291
Constructing Roads
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 18744
Accepted: 7755
Description
There are N villages, which are numbered from 1 to N, and...
分类:
其他好文 时间:
2014-07-22 23:02:33
阅读次数:
221
点击打开链接
Strategic game
Time Limit: 2000MS
Memory Limit: 10000K
Total Submissions: 6105
Accepted: 2808
Description
Bob enjoys playing computer games, especially st...
分类:
其他好文 时间:
2014-07-22 23:01:55
阅读次数:
304
一只小蜜蜂...
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 36202 Accepted Submission(s): 13302
Problem Description
有一只经过训练的蜜蜂只能爬...
分类:
其他好文 时间:
2014-04-30 22:48:40
阅读次数:
221
不容易系列之(3)—— LELE的RPG难题
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 28032 Accepted Submission(s): 11192
Problem Description
...
分类:
其他好文 时间:
2014-04-30 22:45:38
阅读次数:
265
骨牌铺方格
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 27095 Accepted Submission(s): 13089
Problem Description
在2×n的一个长方形方格中,用一...
分类:
其他好文 时间:
2014-04-30 22:38:40
阅读次数:
290