首页 > 其他
--------------------------------------------- 第二讲-------- 第一节------数据比较多的问题的存储方式
下面说线性结构,线性结构是数据结构中最基础最简单的一种结构类型 其中典型的是线性表线性表:举一个列子 下面有一个一元多项式F(x)=a0+a1*x+a2*x+~~~~~~~+an*x;请你思考并给出,你所能想到的几种储存方式.1: 用一个数组将其系数储存起来,然后用for循环这样...
分类:其他   时间:2015-12-29 09:53:28    收藏:0  评论:0  赞:0  阅读:99
真正的免费短信验证码
一个免费的代收短信验证码网站,不用注册,不用下载安装APP,应对现在免费资源越来越稀缺的情况
分类:其他   时间:2015-12-29 09:53:08    收藏:0  评论:0  赞:0  阅读:246
Reactor模式
对象行为类的设计模式,对同步事件分拣和派发。别名Dispatcher(分发器)Reactor模式是处理并发I/O比较常见的一种模式,用于同步I/O,中心思想是将所有要处理的I/O事件注册到一个中心I/O多路复用器上,同时主线程阻塞在多路复用器上;一旦有I/O事件到来或是准备就绪(区别在于多路复用器是...
分类:其他   时间:2015-12-29 09:52:49    收藏:0  评论:0  赞:0  阅读:218
解决 Xcode7 中多个模拟器的办法
转自: http://www.oschina.net/code/snippet_196012_505741.关闭xcode2.终端输入 sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService 输入你的电脑密码3.终端输入 rm -rf...
分类:其他   时间:2015-12-29 09:52:28    收藏:0  评论:0  赞:0  阅读:253
Stacks of Flapjacks
Stacks of FlapjacksBackgroundStacks and Queues are often considered the bread and butter of data structures and find use in architecture, parsing, ope...
分类:其他   时间:2015-12-29 09:52:08    收藏:0  评论:0  赞:0  阅读:107
小记:按两次返回键退出应用程序。
1 private long exitTime = 0; 2 @Override 3 public boolean onKeyDown(int keyCode, KeyEvent event) { 4 5 if (keyCode == KeyEvent.KEYCO...
分类:其他   时间:2015-12-29 09:51:58    收藏:0  评论:0  赞:0  阅读:210
[转] 配置Log4j
Log4J的配置文件(Configuration File)就是用来设置记录器的级别、存放器和布局的,它可接key=value格式的设置或xml格式的设置信息。通过配置,可以创建出Log4J的运行环境。1. 配置文件Log4J配置文件的基本格式如下: #配置根Loggerlog4j.rootLogg...
分类:其他   时间:2015-12-29 09:51:08    收藏:0  评论:0  赞:0  阅读:251
UVa1606 UVaLive3259 FZU1309 HDU1661 POJ2280 ZOJ2390 Amphiphilic Carbon Molecules
填坑系列考虑所有经过两个点的直线,一定有最优解。再考虑确定一个点,按极角顺序枚举所有直线,从而O(1)转移信息。还有代码实现技巧 1 #include 2 #include 3 #include 4 #include 5 #include 6 7 const int N = 1000 + 10; ....
分类:其他   时间:2015-12-29 09:50:28    收藏:0  评论:0  赞:0  阅读:306
注册界面设计及实现之(二)注册业务逻辑的实现
业务流程图:开发步骤: ?获取用户输入的账号和密码 ?使用IF逻辑语句进行业务逻辑判断 ?根据判断的结果给予用户相应的提示 1 //Register_Activity.java 2 3 private boolean checkform() { 4 if (this.txtR...
分类:其他   时间:2015-12-29 09:50:18    收藏:0  评论:0  赞:0  阅读:265
I2C上拉电阻
在一些PCB的layout中,大家往往会看到在I2C通信的接口处,往往会接入一个4.7K的电阻,有的datasheet上面明确有要求,需要接入,有的则没有要求。 I2C接口 对于单片机来讲,有些IO内部的上拉电阻可以使能,这样就省去了外部的上拉电阻,这是对于单片机带有标准I2C通信协议接口,若是只带...
分类:其他   时间:2015-12-29 09:50:08    收藏:0  评论:0  赞:0  阅读:151
canvas实现画图功能
canvas画图利用canvas和获取移动鼠标的坐标点实现画图,可画直线,曲线 ,可改变画笔颜色和粗细一.代码 画笔直线清空橡皮二.示例
分类:其他   时间:2015-12-29 09:49:58    收藏:0  评论:0  赞:0  阅读:192
模态窗口在ie下兼容
.gray{ width: 100%; height: 100%; background-color: rgba(0,0,0,.4);position: fixed;z-index: 99; display: none;filter:progid:DXImageTransform.Microsoft...
分类:其他   时间:2015-12-29 09:49:28    收藏:0  评论:0  赞:0  阅读:158
关于session老是掉的问题
第一步:创建一个空白页面AutoRefresh.aspx,在加入120000代表2分钟自动刷新一次第二步:将这个页面'AutoRefresh.aspx'用框架包含到显示的主页面内就可以了引用:http://bbs.csdn.net/topics/300155706
分类:其他   时间:2015-12-29 09:48:48    收藏:0  评论:0  赞:0  阅读:102
第十三周(立体类族共同拥有的抽象类)
/**copyright(c)2015,烟台大学计算机学院*Allrightsreserved。*文件名:第十三周(立体类族共同拥有的抽象类)*作者:王忠*完毕日期:2015.6.02*版本:v1.0**问题描写叙述:设计一个抽象类CSolid。含实用于求表面积及体积的两个纯虚函数。设计派生类CCu...
分类:其他   时间:2015-12-29 09:47:58    收藏:0  评论:0  赞:0  阅读:190
Leetcode: Range Sum Query - Immutable
Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.Example:Given nums = [-2, 0, 3, -5, 2, -1]sumRang...
分类:其他   时间:2015-12-29 09:47:28    收藏:0  评论:0  赞:0  阅读:118
转换Arcgis Server REST接口实现OL2直接调用
本文讲解如何通过Arcgis Server REST 的导出地图(Export)接口,实现在OL2中直接以WMS的方式调用Arcgis Server REST服务。...
分类:其他   时间:2015-12-29 08:43:39    收藏:0  评论:0  赞:0  阅读:334
Leetcode: Smallest Rectangle Enclosing Black Pixels
An image is represented by a binary matrix with 0 as a white pixel and 1 as a black pixel. The black pixels are connected, i.e., there is only one bla...
分类:其他   时间:2015-12-29 08:43:08    收藏:0  评论:0  赞:0  阅读:180
阿里云服务器配置 SVN 服务器与生产站点同步
作为linux的门外汉,一直觊觎svn的方便性,在有台aliyun的情况下,一起来搞搞。1.环境阿里云 centos5.52.安装svnyum -y install subversion3.配置建立版本库目录mkdir /alidata/www/svndatasvnserve -d -r /alid...
分类:其他   时间:2015-12-29 08:41:18    收藏:0  评论:0  赞:0  阅读:104
二、Reids基础命令--字符串
11、一个字符串类型的KEY同意存储的数据的最大容量是 512MB12、INCR 使key加1,key不存在时默认是0 。返回递增后的值。 127.0.0.1:6379> incr num (integer) 1 127.0.0.1:6379> get num ...
分类:其他   时间:2015-12-29 08:40:38    收藏:0  评论:0  赞:0  阅读:218
Contains Duplicate II
Given an array of integers and an integerk, find out whether there are two distinct indicesiandjin the array such thatnums[i] = nums[j]and the differe...
分类:其他   时间:2015-12-29 07:36:48    收藏:0  评论:0  赞:0  阅读:205
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!