选中关心的tcp报文中的一个,点击 Analyze-->Follow Tcp Stream 即可。这个是等同于 tcp.stream eq 42 这样来过滤参考自 :http://ptlogin2.qq.com/jump?clientuin=2368845947&clientkey=3CB90359...
分类:
其他好文 时间:
2015-03-11 19:17:01
阅读次数:
148
题目大意:约瑟夫问题,求最后被删除的三个人的编号,编号从1开始。
用d[i][0]表示倒数第三个被删除的,d[i][1]表示倒数第二个,d[i][2]表示最后一个。考虑删除掉第一个人以后从d[i-1][0…2]递推而来。对d[i-1][0…2]重新编号以完成递推(实际上d[i][0…2]可以看成对于第一个人的相对偏移位置)。
状态转移方程:
d[i][0]=(d[i-1][0]+(m...
分类:
其他好文 时间:
2015-03-08 09:20:20
阅读次数:
137
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Your goal i...
分类:
其他好文 时间:
2015-03-07 01:03:47
阅读次数:
155
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2015-03-05 16:47:55
阅读次数:
106
JumpNode的定义结构为如下所示:struct JumpNode {
int data; //存储数据
int order; // 记录访问次序,初始化均为0
JumpNode *jump, *next; // next为线性下一节点,jump为跳跃到下一节点
JumpNode(int d): data(d), order(-1), jump(NULL), nex...
分类:
其他好文 时间:
2015-03-05 00:25:09
阅读次数:
156
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Your goal is t...
分类:
编程语言 时间:
2015-03-03 09:59:06
阅读次数:
165
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Determine ...
分类:
编程语言 时间:
2015-03-03 09:58:55
阅读次数:
134
题目Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Determine if you a...
分类:
其他好文 时间:
2015-02-28 23:05:45
阅读次数:
276
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2015-02-25 21:03:31
阅读次数:
101
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2015-02-20 17:25:33
阅读次数:
95