自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 RIP、RIP2、EIGRP、OSPF协议比较

RIP、RIP2、EIGRP、OSPF协议比较一、RIP(Routing Information Protocol 路由信息协议)--一个纯粹的距离矢量路由选择协议:1.特性:RIP每隔30s就将自己完整的路由表从所有的激活的接口上送出;RIP的度量只看跳数,跳数作为它的判断是否是到达远程网络最佳路径的依据,默认最大跳数为15(即16为不可达)。RIP适用于小型、连续网络,只使用有

2014-12-05 02:10:03 1042

原创 微软为何要收购诺基亚?

背景:微软和诺基亚的合作始于2011年,诺基亚当时放弃自己的塞班系统,在自家的手机上全部使用windows phone操作系统。就像此前摩托罗拉在使用安卓系统之后被谷歌收购的结局一样(当时交易金额达到125亿美元)。 在乔布斯发布iphone系列后,当时的手机市场上,苹果和三星名列前两位,曾经的豪门诺基亚的市场占有率已经大不如前,远远落后于两位巨头。鉴于诺基亚占据windows pho

2014-11-03 17:10:41 882

原创 strstr函数的用法

从字符串str1中查找是否有字符串str2,如果有,从str1中的str2位置起,返回str1中str2起始位置的指针,如果没有,返回null。函数概述包含文件:string.h函数名: strstr函数原型:extern char *strstr(char *str1, char *str2);返回值:返回该位置的指针,如找不到,返回空指针。例子:

2013-12-10 22:37:12 674

原创 sprintf函数的使用

函数简介功能把格式化的数据写入某个字符串缓冲区。头文件stdio.h原型int sprintf( char *buffer, const char *format, [ argument] … );参数列表buffer:char型指针,指向将要写入的字符串的缓冲区。format:格式化字符串。[argument]...:可选参数,可以是任何类型的数据。返

2013-12-10 22:18:03 529

原创 uva 10115 automatic editing

Problem E: Automatic EditingSource file:autoedit.{c, cpp,java, pas}Input file:autoedit.inOutput file:autoedit.outText-processing tools like awk and sed allow you

2013-12-10 22:06:38 503

原创 uva 644 immediately

Immediate Decodability An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We will assume for this pro

2013-12-07 20:31:41 492

原创 uva 10878 decode the tape

Problem ADecode the tapeTime Limit: 1 second"Machines take me by surprise with great frequency."Alan TuringYour boss has just unearthed a roll of old computer tapes. The tapes

2013-12-07 14:01:44 454

原创 uva 10361 automatic portry

Problem IAutomatic Poetry Input: standard inputOutput: standardoutputTime Limit: 2 secondsMemory Limit: 32 MB “Oh God”, Lara Croft exclaims, “it’s one of these dumb riddles again!”

2013-12-07 00:34:09 524

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除