题意:有一个n个点的飞行棋,问从0点掷骰子(1~6)走到n点须要步数的期望当中有m个跳跃a,b表示走到a点能够直接跳到b点。dp[ i ]表示从i点走到n点的期望,在正常情况下i点能够到走到i+1,i+2,i+3,i+4,i+5,i+6 点且每一个点的概率都为1/6所以dp[i]=(dp[i+1]+...
分类:
其他好文 时间:
2014-10-26 21:01:03
阅读次数:
130
水水过~
#include
#include
#include
#include
#include
template
inline bool rd(T &ret) {
char c; int sgn;
if(c=getchar(),c==EOF) return 0;
while(c!='-'&&(c'9')) c=getchar();
...
分类:
其他好文 时间:
2014-10-26 00:26:40
阅读次数:
185
Aeroplane chess
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status Practice HDU
4405
Appoint description:
System Crawler (2014-10-18)
Descrip...
分类:
其他好文 时间:
2014-10-25 23:06:30
阅读次数:
438
H - LOOPS
Time Limit:5000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status Practice HDU
3853
Appoint description:
System Crawler (2014-10-22)
Description
...
分类:
其他好文 时间:
2014-10-25 23:06:28
阅读次数:
440
Card Collector
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status Practice HDU
4336
Appoint description:
System Crawler (2014-10-23)
Descript...
分类:
其他好文 时间:
2014-10-25 23:05:37
阅读次数:
445
Help Me Escape
Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld
& %llu
Submit Status Practice ZOJ
3640
Appoint description:
System Crawler (2014-10-22)
Descriptio...
分类:
其他好文 时间:
2014-10-25 23:05:05
阅读次数:
257
Kids and Prizes
Time Limit:250MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u
Submit Status Practice SGU
495
Appoint description:
System Crawler (2014-10-25)
Descriptio...
分类:
其他好文 时间:
2014-10-25 21:29:24
阅读次数:
260
ssworld VS DDD
Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 1487 Accepted Submission(s): 304
Problem Description
One day, ss...
分类:
其他好文 时间:
2014-10-23 09:31:06
阅读次数:
234
Collecting Bugs
Time Limit: 10000MS
Memory Limit: 64000K
Total Submissions: 2678
Accepted: 1302
Case Time Limit: 2000MS
Special Judge
Description
Ivan is f...
分类:
其他好文 时间:
2014-10-22 22:07:09
阅读次数:
238
The number of steps
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
Mary stands in a strange maze, the maze looks like a triangle(the first layer have one room,the ...
分类:
其他好文 时间:
2014-10-22 20:22:52
阅读次数:
235