首页 > 其他
TCP/IP分析
TCP/IP四层模型TCP/IP参考模型 ISO制定的OSI参考模型的过于庞大、复杂招致了许多批评。与此对照,由技术人员自己开发的TCP/IP协议栈获得了更为广泛的应用。如图2-1所示,是TCP/IP参考模型和OSI参考模型的对比示意图。 图2-1 TCP/IP参考模型 2.1 TC...
分类:其他   时间:2015-10-05 19:20:15    收藏:0  评论:0  赞:0  阅读:380
动手动脑
1以下代码的输出结果是什么?intX=100;intY=200;System.out.println("X+Y="+X+Y);System.out.println(X+Y+"=X+Y");为什么会有这样的输出结果?输出结果:原因:在java中+可以做为连接符和运算符。2请运行以下代码(TestDou...
分类:其他   时间:2015-10-05 19:19:54    收藏:0  评论:0  赞:0  阅读:259
editplus查找替换的正则表达式应用
表达式 说明\t 制表符.\n 新行.. 匹配任意字符.| 匹配表达式左边和右边的字符. 例如, "ab|bc" 匹配 "ab" 或者 "bc".[] 匹配列表之中的任何单个字符. 例如, "[ab]" 匹配 "a" 或者 "b". "[0-9]" 匹配任意数字.[^] 匹配列表之外的任何单个字符....
分类:其他   时间:2015-10-05 18:16:14    收藏:0  评论:0  赞:0  阅读:287
【UVa 208】Firetruck
The Center City ?re department collaborates with the transportation department to maintain mapsof the city which re?ects the current status of the cit...
分类:其他   时间:2015-10-05 18:15:44    收藏:0  评论:0  赞:0  阅读:270
设计模式 --迭代器模式(Iterator)
能够游走于聚合内的每一个元素,同时还可以提供多种不同的遍历方式。基本概念:就是提供一种方法顺序访问一个聚合对象中的各个元素,而不是暴露其内部的表示。使用迭代器模式的优点:遍历集合或者数组;忽略集合和数组的结构;提供不同的遍历方式;符合单一职责原则。迭代器角色:抽象迭代器:该接口必须定义实现迭代功能的...
分类:其他   时间:2015-10-05 18:15:34    收藏:0  评论:0  赞:0  阅读:240
HDOJ 题目2474 String painter(区间DP)
String painterTime Limit: 5000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2520Accepted Submission(s): 1134Prob...
分类:其他   时间:2015-10-05 18:14:54    收藏:0  评论:0  赞:0  阅读:527
CodeForcesGym 100753A A Journey to Greece
A Journey to GreeceTime Limit: 5000msMemory Limit: 262144KBThis problem will be judged onCodeForcesGym. Original ID:100753A64-bit integer IO format:%I...
分类:其他   时间:2015-10-05 18:14:14    收藏:0  评论:0  赞:0  阅读:369
运输层协议----UDP
import java.io.IOException;import java.net.DatagramPacket;import java.net.DatagramSocket;import java.net.InetAddress;class UDPClient{ public static vo...
分类:其他   时间:2015-10-05 18:13:14    收藏:0  评论:0  赞:0  阅读:295
centos 3d特效
说下我怎么实现的吧 1.现在新力得里搜“XGL”和“Compiz”,把相关软件安装好。 2.安装ndivid的glx驱动: sudo apt-get install nvidia-kernel-common nvidia-glx sudo gedit /etc/X11/xorg.conf ...
分类:其他   时间:2015-10-05 18:13:04    收藏:0  评论:0  赞:0  阅读:325
LeetCode OJ:Two Sum(两数之和)
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他   时间:2015-10-05 18:12:44    收藏:0  评论:0  赞:0  阅读:238
Codeforces Round #323 (Div. 2) D. Once Again... 暴力+最长非递减子序列
D. Once Again...You are given an array of positive integersa1,?a2,?...,?an?×?Tof lengthn?×?T. We know that for ...
分类:其他   时间:2015-10-05 18:12:04    收藏:0  评论:0  赞:0  阅读:1313
LeetCode -- Valid Sudoku
Question:Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are fil...
分类:其他   时间:2015-10-05 18:11:44    收藏:0  评论:0  赞:0  阅读:304
第四次作业
参考书《数据压缩导论(第4版)》 Page 121 7,8序列输出rraratratatatatat_ratatatatat_a_ratatatatat_a_rratatatatat_a_rat_atratatatatat_a_rat_at_a_rat所以,编码序列为:ratatatatat_a_r...
分类:其他   时间:2015-10-05 18:11:14    收藏:0  评论:0  赞:0  阅读:247
poj 1466 Girls and Boys (最大独立集)
链接:poj 1466题意:有n个学生,每一个学生都和一些人有关系,如今要你找出最大的人数。使得这些人之间没关系思路:求最大独立集,最大独立集=点数-最大匹配数分析:建图时应该是一边是男生的点,一边是女生的点连边。可是题目中没说性别的问题。仅仅能将每一个点拆成两个点。一个当作是男的点,一个当作是女的...
分类:其他   时间:2015-10-05 18:10:54    收藏:0  评论:0  赞:0  阅读:171
camera插件的使用-做出自适应轮播图
js调用html We develop. 引用的css+js文件 index.html页面全部代码图片自适应截取 Camera is a responsive/adaptive slideshow. Try ...
分类:其他   时间:2015-10-05 18:09:54    收藏:0  评论:0  赞:0  阅读:561
【BZOJ3450】【Tyvj1952】Easy 可能DP
联系:#include int main(){ puts("转载请注明出处[辗转山河弋流歌 by 空灰冰魂]谢谢"); puts("网址:blog.csdn.net/vmurder/article/details/46471319");}题解:设 L 为当前期望后缀 o ...
分类:其他   时间:2015-10-05 18:09:44    收藏:0  评论:0  赞:0  阅读:287
折半查找、
数组中的折半查找:只对有序的数组有效,取中间元素与查找的元素对比,如果需要查找的元素比中间元素大,则把查找范围缩小一半,以此类推,知道找到为止public class Zheban { public static void main(String[] args) { int[] a={1,2,3,....
分类:其他   时间:2015-10-05 18:09:24    收藏:0  评论:0  赞:0  阅读:303
UITableView的cell重用优化
三种情况,四种方法:情况一:加载xib中描述的cell情况二:加载纯代码自定义的cell情况三:加载storyBoard中的tableView内的cell针对于情况一:// 导入自定义cell的.h文件,在viewDidLoad方法中注册xib中描述的cell,因为只需要注册一次,所以选择在view...
分类:其他   时间:2015-10-05 18:09:15    收藏:0  评论:0  赞:0  阅读:317
技术新领导人张小龙:一些成功不能复制
在广州的标志性建筑“小蛮腰”不远处。TIT 创意空间里六栋由老旧的机械厂房改造而成的微信总部办,“隐藏”在一片绿树成荫的园区里,闹中取静。 办公楼外一块锈迹斑斑的铁板上。记录着微信的发展里程,当中标注的 433 天,是微信用户从 0 增长到 1 亿的时间。如今,微信和 WeChat (微信海外...
分类:其他   时间:2015-10-05 18:09:04    收藏:0  评论:0  赞:0  阅读:214
惨不忍睹的简单计算器窗口
这是一个不完整的代码,但我实在是找不出问题在哪里了。求正解,,,,,using System.Windows.Forms;namespace 计算器{ public partial class Form1 : Form { public Form1() { ...
分类:其他   时间:2015-10-05 18:08:44    收藏:0  评论:0  赞:0  阅读:242
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!