Problem:
Give a series of IP segments, for example, [0.0.0.1-0.0.0.3], [123.234.232.21-123.245.21.1]...
Now there is a new IP, find which IP segment it's in ?
Solution:
First, we could map the end...
分类:
其他好文 时间:
2014-08-18 00:18:13
阅读次数:
309
只记录一些我认为比较必要,容易出错的地方。(不断更新中) 内存:分为四段,代码段code segment,数据段data segment,栈stack, 堆heap。记住如下图 数据类型: 1.java整形常量默认为int类型,当使用long类型时,因此需要添加“l”或“L”,...
分类:
编程语言 时间:
2014-08-18 00:03:53
阅读次数:
229
作者:Avatar Ye,Game Developer作为一个学医行医八年最终改行的人对这个问题也有些话想说:当年我从复旦医学院毕业,进入上海一个三甲医院外科工作,说起来算是最好的工作选择之一。三年以后忍无可忍,跳槽到了Ubisoft。说起来也有意思,Ubisoft的豪华办公大楼就在那家医院对面,跳...
分类:
其他好文 时间:
2014-08-17 21:19:12
阅读次数:
251
;10.12assume cs:code,ds:datadata segment db 'word',0 db 'unix',0 db 'wind',0 db 'good',0data endscode segmentstart : ...
分类:
其他好文 时间:
2014-08-17 21:14:22
阅读次数:
179
1 ;实验九 2 assume cs:code,ds:data 3 data segment 4 db 'welcome to masm!' 5 data ends 6 7 code segment 8 start : 9 mov ax,data1...
分类:
其他好文 时间:
2014-08-17 21:10:12
阅读次数:
223
初次使用masmplus 其中在 codesg segment 使用了 start 标记, 并在end处标明了:end start 但是默认的masmplus 会提示 start 为 不认识的 external symbol,如下图 那怎么办, 原来是连接器不同造成的, 这里如果使用了类似的star...
分类:
其他好文 时间:
2014-08-17 18:21:52
阅读次数:
186
Treblecross is a two player gamewhere the goal is to get three X in a row on a one-dimensional board. At the startof the game all cells in the board is empty. In each turn a player puts a X in an empt...
分类:
其他好文 时间:
2014-08-17 17:03:33
阅读次数:
358
Division game is a 2-player game.In this game, there is a matrix of positive integers with N rows and M columns.Players make their moves in turns. In each step, the current player selects arow. If the...
分类:
其他好文 时间:
2014-08-17 15:40:52
阅读次数:
191
Games with Rectangle
Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
In this task Anna and Maria play the following game. Initia...
分类:
其他好文 时间:
2014-08-17 11:50:42
阅读次数:
329
网络数据包的封包与拆包
过程如下:
将数据从一台计算机通过一定的路径发送到另一台计算机。应用层数据通过协议栈发到网络上时,每层协议都要加上一个数据首部(header),称为封装(Encapsulation),如下图所示:
不同的协议层对数据包有不同的称谓,在传输层叫做段(segment),在网络层叫做数据包(packet),在链路层叫做帧(frame)。数据封装成帧后发到传输介质...
分类:
系统相关 时间:
2014-08-17 11:47:12
阅读次数:
560