转载请注明出处:http://blog.csdn.net/guolin_blog/article/details/25466665本篇文章主要内容来自于Android Doc,我翻译之后又做了些加工,英文好的朋友也可以直接去读原文。http://developer.android.com/guide...
分类:
移动开发 时间:
2014-09-24 00:29:55
阅读次数:
381
维护每个区间的最小值和最大值,update的时候判断low[rt]与up[rt]和p的大小关系,进行更新操作。卡时卡得很紧。#include #include #include #include #include #define lson l,m,rtb)return a; return b;...
分类:
其他好文 时间:
2014-09-24 00:12:55
阅读次数:
263
Scale Out:横向扩展,增加处理节点提高整体处理能力Scale Up:纵向扩展,通过提升单个节点的处理能力达到提升整体处理能力的目的ReplicationMySQL的replication是异步的,适用于对数据实时性要求不是特别关键的场景。slave端的IO线程负责从master读取日志,SQ...
分类:
数据库 时间:
2014-09-23 19:45:25
阅读次数:
305
在用ActionBar的自定义ActionProvider的时候有时候会遇到以下的报错:产生的原因是:引入的ActionProvider的包出错了如果引入的是import android.support.v4.view.ActionProvider;就会产生上诉错误。修改错误:将引入包改成impor...
分类:
移动开发 时间:
2014-09-23 18:58:25
阅读次数:
290
1.归并排序的思想
2.归并排序的具体实现
3.归并排序的改进:
(1)当递归到一定程度,数组已经足够小时(length
(2)当较小的那部分数值的最大值>=较大部分的最小值时,则直接返回,不对这两部分数组进行合并。
4.归并排序的变形—buttom up merge sort
基本思路:
(1)设length=2。依次遍历数组...
分类:
其他好文 时间:
2014-09-23 16:32:54
阅读次数:
149
From google: If your app uses a custom image as the background of the bar, you'll need to provide a “taller” image so that it extends up behind the st...
分类:
移动开发 时间:
2014-09-23 13:38:34
阅读次数:
147
Don't give up when you still have something to give, becausenoting is really over until the moment you stop trying当你还能给予的时候别轻言放弃.只要你不放弃,一切皆有可能Don't gi...
分类:
其他好文 时间:
2014-09-23 11:19:24
阅读次数:
217
转载请注明出处:http://blog.csdn.net/guolin_blog/article/details/18234477本篇文章主要内容来自于Android Doc,我翻译之后又做了些加工,英文好的朋友也可以直接去读原文。http://developer.android.com/guide...
分类:
移动开发 时间:
2014-09-23 01:21:03
阅读次数:
350
Setting up a new development box for myself I had forgotten all about the necessity to use theaspnet_regiis.exe–i command. The information is fairly e...
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...
分类:
其他好文 时间:
2014-09-22 23:28:53
阅读次数:
160