自解: 1 DSEG SEGMENT 2 DATA DB
-1,1,-2,2,3,-3,-4,4,5,-5,-6,6,0 3 PDATA DB 0,0,0,0,0 4 MDATA DB 0,0,0,0,0 5 DSEG
ENDS 6 ;--------------------------------...
分类:
其他好文 时间:
2014-05-09 18:51:04
阅读次数:
262
Why need initialization and cleanup?A large
segment of C bugs occur when the programmer forgets to initialize or clean up a
variable.The class designe...
分类:
编程语言 时间:
2014-05-08 19:13:20
阅读次数:
326
我們需要用yum進行linux的更新或者軟件的安裝時,會發現速度比較慢,這時我們應該修改下mirror。vim
/etc/yum.repos.d/CentOS-Base.repo
(提示:有些系統中CentOS-Base.repo.save,其實是一樣的,只不過要在修改後把".save"去掉,因為只...
分类:
其他好文 时间:
2014-05-08 12:28:37
阅读次数:
319
DescriptionYou are to write a program that has
to decide whether a given line segment intersects a given rectangle.An
example:line: start point: (4,9)...
分类:
其他好文 时间:
2014-05-07 13:55:45
阅读次数:
387
转载请注明出处:http://blog.csdn.net/u012860063?viewmode=contents
Problem Description
N(3<=N<=20000) ping pong players live along a west-east street(consider the street as a line segment).
Each playe...
分类:
其他好文 时间:
2014-05-07 08:33:20
阅读次数:
334
1、查看所有表的物理大小1 select segment_name, bytes from
user_segments order by bytes desc2、查看表空間的名稱及大小1 select t.tablespace_name,
round(sum(bytes/(1024*1024)),....
分类:
数据库 时间:
2014-05-07 00:30:02
阅读次数:
1232
我们以一个程序来展开讨论:用7ch中断例程完成loop指令的功能,在屏幕中间显示80个"!"
1.程序框架如下
assume cs:code
code segment
start:
mov ax,0b800h ;向8086CPU显存的地址
mov di,160*12 ;显示位置
mov bx,offset s-offset se ;跳转的位移
mov cx,80 ;循环次数
s:
m...
分类:
其他好文 时间:
2014-05-05 13:00:20
阅读次数:
321
这两道题,大同小异。
我都是用BFS,在遍历的过程,判断结构是否相同/对称,值是否相同。下面是AC代码: 1 /** 2 * Given a binary tree, check
whether it is a mirror of itself (ie, symmetric aroun...
分类:
其他好文 时间:
2014-05-05 09:48:26
阅读次数:
401
目标:主机做了Mirror和Replication,当主机出现问题时,Replication和Mirror实现自动的故障转移(Mirror和Replication都切换到备机,而当主机重新启动后,自动充当备机的角色)。环境:五台虚拟机,配置均为Windows2008Enterprise
+ SQLS...
分类:
数据库 时间:
2014-05-04 19:07:28
阅读次数:
560
例题1:给十个单字节无符号数排序: 1 ;功能名称,说明二重循环的实现 2 DSEG
SEGMENT 3 BUFFER DB 23,12,45,32,127,3,9,58,81,72 4 N EQU 10 5 DSEG ENDS 6 ; 7
...
分类:
其他好文 时间:
2014-05-03 23:13:39
阅读次数:
352