1、你觉得最靠谱的事情,往往是最先失控的。所以不要把什么人和事情,当做百分百的确定。唯一能确定的,就是什么都会改变。
2、不要纠结于做什么事情更好。纠结到最后,只会让你一事无成。凡事都先去做,做的不好的话,那接下来做的事情就会更好了。
3、潮水般向你涌来的关注、人群和善意,是最不值钱的。唯有退潮后还在默默观望陪伴你的,才是真心。
4、千万不要因为有障碍,就...
分类:
其他好文 时间:
2015-02-27 12:03:39
阅读次数:
140
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=251
A Telephone Line Company (TLC) is establishing a new telephone cable network. They are connecting...
分类:
其他好文 时间:
2015-02-27 12:00:45
阅读次数:
154
tortoise svn无法连接到svn服务器,但用浏览器可以连接到svn服务器之解决方法...
分类:
其他好文 时间:
2015-02-27 11:59:34
阅读次数:
134
/**
* 求 无向图的割点和桥
* 可以找出割点和桥,求删掉每个点后增加的连通块。
* 需要注意重边的处理,可以先用矩阵存,再转邻接表,或者进行判重
* 调用solve输出割点数,全局变量bridge记录边的个数
*/
#include
#include
#include
#include
using namespace std;
const int maxn=10010;
co...
分类:
其他好文 时间:
2015-02-27 12:01:13
阅读次数:
98
DECLARE
l_old_userName VARCHAR2(100):='CHENXISHENG_BP';
l_userName VARCHAR2(100):='SHH';--用户名需要大写
l_passWord VARCHAR2(240):='hand123';--密码需要数字和字母的组合
l_description VARCHAR2(240):='宋欢欢';
...
分类:
其他好文 时间:
2015-02-27 12:01:42
阅读次数:
189
例外情况创新市场高效反馈性和先动者优势导致的第一个进入市场的公司根本无法被撼动的这两个观点一直存在争议,因为我们很容易就能找到现实存在的并没有完全符合这两个规则的反例出来。以上一年被苹果以30亿美元收购掉的Beats耳机公司为例,该公司其实打破了本文描述的所有规则然后依然获得成功,究其原因是因为流行音乐这种潮流行业公司天生就是变幻无常且充满不稳定因数的。再看微软的Surface平板电脑,虽然微软后来...
分类:
其他好文 时间:
2015-02-27 12:01:31
阅读次数:
132
最主要的就是使用使用amix的filter
官方文档:http://ffmpeg.org/ffmpeg-filters.html
6.8 amix
Mixes multiple audio inputs into a single output.
Note that this filter only supports float samples (the amerge ...
分类:
其他好文 时间:
2015-02-27 11:59:31
阅读次数:
1616
最近做了UINavigationController的滑动返回(IOS7及以后系统默认支持的), 主要分成以下几步以及碰到的问题, 我这里做个总结:
*.首先说明个普遍碰到的问题
网上普遍看到说, 在UINavigationController下自定义leftBarButtonItem会导致滑动失效, 解决方案:http://blog.csdn.net/meegomeego/article...
分类:
其他好文 时间:
2015-02-27 11:58:48
阅读次数:
458
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it without using e...
分类:
其他好文 时间:
2015-02-27 11:58:37
阅读次数:
169
TextView控件有一个属性是ellipsize,指的是当文字内容长度超过TextView大小时显示问题,一般情况下我们都是用省略号表示,常用的情况有以下四种:
1,android:ellipsize = "end" 省略号在结尾
3,android:ellipsize = "start" 省略号在开头
3,android:ellipsize =...
分类:
其他好文 时间:
2015-02-27 11:57:16
阅读次数:
171
练习题目:点击打开链接 网络流建模:点击打开链接
之前写过 关于网络流的算法入门,其实那么多会一个就OK.首选Dinic,递归很好写25行.
邻接表时候若是无向图则是四条边
解决和值问题,都并入汇点
找多条不同的路径,最小费用流问题.
J 模板题
测试Dinic模板
K 电脑公司,
这个其实也可以不用拆点,不过拆点更容易想,这个是第一个需要构图的题目,完全不会.其实就是不同类型机...
分类:
其他好文 时间:
2015-02-27 11:57:33
阅读次数:
224
为期1月份的设计模式之旅已走完,我们今天一起来总结咱们前面的东西;其实设计模式分为:创建模式、结构模式、行为模式。它们分别是对应那些呢?
创建型模式:单例模式、抽象工厂模式、建造者模式、工厂模式、原型模式。
结构型模式:适配器模式、桥接模式、装饰模式、组合模式、外观模式、享元模式、代理模式。
行为型模式:模版方法模式、命令模式、迭代器模式、观察者模式、中介者模式、备忘录模...
分类:
其他好文 时间:
2015-02-27 11:59:09
阅读次数:
174
重写大发好!!!!!
****什么题解都没有,水题一道,
挂了就去调,调不过就去重写。
代码:
#include
#include
#include
#include
#define N 20100
#define ls (note<<1)
#define rs (note<<1|1)
#define inf 0x3f3f3f3f
using namespace std;...
分类:
其他好文 时间:
2015-02-27 11:57:16
阅读次数:
194
今天又有人问了,吧啦吧啦在网盘里找到了备份 整理一下
其实当时我也是网上找的,不过年代久远出处不详了
图图图:
http://blog.csdn.net/onlyonecoder/article/details/8518148
布局文件
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/and...
分类:
其他好文 时间:
2015-02-27 11:57:16
阅读次数:
161
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it
as a li...
分类:
其他好文 时间:
2015-02-27 11:54:33
阅读次数:
125
背景:dfs递归实现。
思路:对于每一个@都把和组成一个片区相连的所有@变成*,并计数一次。
#include
#include
#include
using namespace std;
char map[105][105];
int direction[8][2]={1,0,1,1,1,-1,0,1,0,-1,-1,0,-1,1,-1,-1};
void dfs(int i,int ...
分类:
其他好文 时间:
2015-02-27 11:55:51
阅读次数:
143