1、json在线格式化工具 http://www.choujone.com/json/ 2、json在线比较工具 http://tlrobinson.net/projects/javascript-fun/jsondiff/ ...
分类:
Web程序 时间:
2017-12-02 14:15:14
阅读次数:
643
是不是dp[i][j]是到a[i]和b[j]的最小diff之和 那么dp[i][j] = min( dp[i-1][j-1]+math.abs(a[i]-b[j]), dp[i][j-1]) 第一个是肯定包含b[j]的,第二个是肯定不包含b[j]的, ...
分类:
其他好文 时间:
2017-12-02 14:08:59
阅读次数:
129
Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between nums[i] and ...
分类:
其他好文 时间:
2017-12-02 11:05:27
阅读次数:
100
yum install git $ git config --global user.name "John Doe" $ git config --global user.email johndoe@example.com $ 查看git配置 $ git config --list $ 初始化 $ ...
分类:
其他好文 时间:
2017-12-01 18:37:53
阅读次数:
189
"51nod 1290" Counting Diff Pairs | 莫队 树状数组 题面 一个长度为N的正整数数组A,给出一个数K以及Q个查询,每个查询包含2个数l和r,对于每个查询输出从A[i]到A[j]中,有多少对数,abs(A[i] A[j]) include include include ...
分类:
编程语言 时间:
2017-11-30 18:06:10
阅读次数:
189
[MY NOTE] Translate Source:http://www.dotnettricks.com/learn/webapi/difference-between-wcf-and-web-api-and-wcf-rest-and-web-service Web Service 1.基于SO ...
#include #include #include #include #include #include #define BUFSIZE 1024 /* ./mycp /etc/passwd /home/passwd diff /etc/passwd /home/passwd */ void co... ...
分类:
其他好文 时间:
2017-11-29 16:09:21
阅读次数:
788
git提交代码流程 git status 检查当前代码和主支代码不同的状态 git diff 可指定文件查看这个文件修改的内容 git add . 把自己所有修改的代码提交 git commit 提交并注释修改内容 git pull 将线上的代码下载到自己这里,再次debug,防止代码冲突 git ...
分类:
其他好文 时间:
2017-11-29 13:33:49
阅读次数:
287
常用命令: 添加到暂存区 git add <file> 删除 git rm <file> 更名 git mv <old> <new> 查看不同 git diff 查看日志 git log 查看命令历史 git reflog 撤销未提交的文件内容 git check - - <file> (让这个文件 ...
分类:
其他好文 时间:
2017-11-28 21:06:21
阅读次数:
113
看了下Qt的帮助文档,发现connect函数最后还有一个缺省参数. connect函数原型是这样的: QMetaObject::Connection QObject::connect(const QObject * sender, const char * signal, const QObject ...
分类:
其他好文 时间:
2017-11-27 21:45:29
阅读次数:
121