One Person GameTime Limit:2 Seconds Memory
Limit:65536 KBThere is an interesting and simple one person game. Suppose there
is a number axis under your...
分类:
其他好文 时间:
2014-05-24 07:02:17
阅读次数:
310
当使用80x86微处理器时,我们必须区分三种地址:1.逻辑地址(logical
address) 包含在机器语言指令中用来指定一个操作数或者一条指令的地址。由一个段(segment)和偏移量(offset)组成。2.线性地址(linear
addres,也称虚拟地址 virtual address....
分类:
其他好文 时间:
2014-05-23 23:58:31
阅读次数:
405
题意:每次筛三个骰子面分别为k1,k2,k3,如果三个骰子的值分别为a,b,c则得分置0,否则得到分数加上三个骰子的值的和,如果得分大于等于n则结束游戏。设E[i]表示当前得到i分时结束游戏的期望。则E[i]=sum{Pk*(E[i+k]+1)|k为三个骰子可能取得的分数且不包括a,b,c这种情况}...
分类:
其他好文 时间:
2014-05-23 11:48:09
阅读次数:
303
【题目】
Bob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up by areas, in which there are streets, trees, factories and...
分类:
其他好文 时间:
2014-05-22 13:09:50
阅读次数:
247
Problem Description
Alice and Bob always love to play games, so does this time.
It is their favorite stone-taken game.
However, this time they does not compete but co-operate to finish this tas...
分类:
其他好文 时间:
2014-05-22 11:15:07
阅读次数:
242
从oracle 10g开始,oracle引入了段顾问(Segment Advisor),用于检查数据库中是否有与存储空间相关的建议,并且从10gR2开始,oracle自动调度并运行一个段顾问作业,定时分析数据库中的段,并将分析结果放在内部表中。但是很多情况下,作为DBA,我们都会将oracle自带的各种调度作业(统计信息收集、段顾问、SQL顾问等等)禁用,进而通过手工进行控制执行类似作业(或者为了节省资源)。因此很多情况下,我们都没有用到段顾问这个非常实用的功能。这篇文章就是讲述在表对象和表空间级别通过手工...
分类:
数据库 时间:
2014-05-20 15:17:18
阅读次数:
542
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1083题意差不多是这样,给你n条线的长度,让你染色,每次只能染2个长度单位,让你先染,问是否能赢的胜利其实这题和取石子的那题(ECNU
1328 Stripes)差不多,...
Jump Game IGiven an array of non-negative
integers, you are initially positioned at the first index of the array.Each
element in the array represents ...
分类:
其他好文 时间:
2014-05-19 15:16:57
阅读次数:
373
题目链接:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3769
Diablo III
Time Limit: 2 Seconds Memory Limit: 65536 KB
Diablo III is an action role-playing video game. A fe...
分类:
其他好文 时间:
2014-05-18 18:40:35
阅读次数:
345
Problem Description
Speedcell and Shoutmon love triangles very much.One day,they are playing a game named “Triangle Counting”.
In this game,Speedcell draws a round,and draws N points on the circum...
分类:
其他好文 时间:
2014-05-18 14:19:00
阅读次数:
262