Issue:Gem files will remain installed in /tmp/bundler20140825-31835-p0c0p/sqlite3-1.3.9/gems/sqlite3-1.3.9 for inspection.Results logged to /tmp/bundl...
分类:
数据库 时间:
2014-08-25 01:10:23
阅读次数:
284
UVA 10909 - Lucky Number
题目链接
题意:问一个数字能否由两个lucky num构造出来,lucky num根据题目中的定义
思路:利用树状数组找前k大的方法可以构造出lucky num的序列,然后每次查找n,就从n / 2开始往下查找即可
代码:
#include
#include
#include
using namespace st...
分类:
其他好文 时间:
2014-08-24 23:52:53
阅读次数:
423
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.The same repeate...
分类:
其他好文 时间:
2014-08-24 23:34:33
阅读次数:
259
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each numb...
分类:
其他好文 时间:
2014-08-24 23:29:33
阅读次数:
176
LeetCode: Sum Root to Leaf NumbersGiven a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is t...
分类:
其他好文 时间:
2014-08-24 20:41:33
阅读次数:
175
如果你的fcitx不能使用,或者出现“搜狗面板程序加载失败,请重启以使用输入法”,都请先卸载fcitx。卸载方法可以使用sudo apt-get autoremove fcitx,或者直接在software center搜索fcitx并卸载。
我的电脑环境:
1. System version - Ubuntu 12.04.*;
2. Connected to internet....
分类:
其他好文 时间:
2014-08-24 19:27:23
阅读次数:
215
题目描述:
Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1={11, 12, 13, 14} is 12, and the median of S2={9, 10, 15, 16, 17} is 15. The median of two sequences is defined to be...
分类:
其他好文 时间:
2014-08-24 19:24:22
阅读次数:
235
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers....
分类:
其他好文 时间:
2014-08-24 19:14:43
阅读次数:
211
problem A#includeint a[500]={0};//素数大表 int main(){ int number; int anumber=0; int i=0; int flag=0; while(scanf("%d",&number)!=EOF) { if(anumber==0) .....
分类:
其他好文 时间:
2014-08-24 19:12:03
阅读次数:
162
1、首先安装VS12,很简单,不赘述。2、安装AE10.1,很简单不赘述。3、打开VS12,新建工程,会发现工具栏并没有AE的相关控件。4、新建工具选项卡ArcEngine Tools,添加控件5、把Licence控件和MapControl拖进来6、把ESRI.ARCGIS.Version.dll添...
分类:
其他好文 时间:
2014-08-24 18:01:52
阅读次数:
385