1.按地理范围分类局域网(LAN):连接范围小,用户数少,连接速率高城域网(MAN):连接距离10-100Km,采用802.6标准,一个MAN通常连接着多个LAN广域网(WAN):不同城市之间的LAN或MAN互连,距离较远,信息衰减比较严重,一般租用专线互联网(Internet):全球计算机互连,最...
分类:
其他好文 时间:
2015-03-30 23:04:01
阅读次数:
183
http://acm.hdu.edu.cn/showproblem.php?pid=4400
Problem Description
Terrorists put some mines in a crowded square recently. The police evacuate all people in time before any mine explodes. Now ...
分类:
其他好文 时间:
2015-03-29 12:17:37
阅读次数:
151
Given an integer n, generate a square matrix filled with elements from 1 to
n2 in spiral order.
For example,
Given n = 3,
You should return the following matrix:
[
[ 1, 2, 3 ],
[ 8, 9, 4 ],
[ ...
分类:
其他好文 时间:
2015-03-28 17:17:30
阅读次数:
124
框架标签 帧标签 内嵌框架标签scolling滚动条no autuo yes表单一表单二百度网邮箱框架 你的浏览器不支持框架标签fram-2.html代码编写百度网表格1表格2图片效果55555列表标签circle空心圆 disc实心圆 square方块aaaa...
分类:
Web程序 时间:
2015-03-28 01:04:14
阅读次数:
629
所谓的局域网(Local Area Network,LAN),用于将有限范围内(例如一个实验室、一层办公楼或者校园)的各种计算机、终端与外部设备互联成网。一般情况下: 10人以下,规模比较小的公司一般对网络应用需求较低,由于人数少,基本也不存在划分VLAN(虚拟局域网)的需求,所以,选择一个多...
分类:
其他好文 时间:
2015-03-27 23:46:42
阅读次数:
301
#includeusing namespace std;int main() {int j; int i;int k;int a[100][100]={0};for (i = 1; i9)a[i][j] = k / 10 + k % 10;if (a[i][j] > 9){k = a[i][j];a...
分类:
编程语言 时间:
2015-03-22 00:25:01
阅读次数:
232
Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.
For example,
Given n = 3,
You should return the following matrix:
[
[ 1, 2, 3 ],
[ 8, 9, 4 ],
[...
分类:
其他好文 时间:
2015-03-21 12:41:11
阅读次数:
105
1.函数传值&探测对象window.onload=initAll;
/*
functioninitAll(){
for(i=0;i<24;i++){
varnewNum=Math.floor(Math.random()*75)+1;
document.getElementById("square"+i).innerHTML=newNum;
}
}
*/
functioninitAll(){
if(document.getElementById){//通过此属性检测..
分类:
编程语言 时间:
2015-03-20 01:34:47
阅读次数:
224
题目链接:Sqrt(x)
Implement int sqrt(int x).
Compute and return the square root of x.
这道题的要求是实现int sqrt(int x),即计算x的平方根。
考虑二分,即先令l和r分别为1和x/2+1(x的平方根一定小于等于x/2+1),然后m等于(l+r)/2,不断比较m*m和x的大小。
由于...
分类:
其他好文 时间:
2015-03-20 00:07:04
阅读次数:
166