List list = Arrays.asList(new Point(1, 5), new Point(2, 3),new Point(2, 8), new Point(9, 13));int sum = list.get(0).y - list.get(0).x,currenty=list.ge...
分类:
其他好文 时间:
2014-06-28 19:25:36
阅读次数:
183
先Reset Vector EPCS Exception Vector Ram工程Program memory ,Read-only data memory...均为RAM.Hardware Image选择 EPCS编译.编译:先把POF文件下载到EPCS中.放到最底层后通过FLASH PROGRA...
分类:
移动开发 时间:
2014-06-21 12:33:42
阅读次数:
302
1 --逻辑表达式 2 3 --1+2+3+...+n 4 function fun1(n) 5 local sum = 0 6 for i=1,n do 7 sum = sum + i 8 end 9 return sum 10...
分类:
其他好文 时间:
2014-06-21 08:04:22
阅读次数:
292
如果考虑hashmap直接O(n)的速度, 如果不行,就先排序,两头指针很好推理,关键是 a[beg] +a[end]>sum,意思就是说a[end]太大了,最小的数的都不满足,所以排除a[end] 绝知此事要躬行 #include#includeusing namespace std; bool ...
分类:
其他好文 时间:
2014-06-21 07:38:14
阅读次数:
187
Triangle:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, give...
分类:
其他好文 时间:
2014-06-21 07:02:07
阅读次数:
203
Description:Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesame...
分类:
其他好文 时间:
2014-06-21 06:55:48
阅读次数:
200
微软近期Open的职位:ATG Engineer - GeneralistReady to work on some of the most advanced hardware on the planet and solve mind-bending game development problem...
分类:
其他好文 时间:
2014-06-20 23:50:25
阅读次数:
391
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-06-20 23:37:29
阅读次数:
195
微软近期Open的职位:JOB DESCRIPTION: Be a part of Customer Support and Service (CSS) Engineering Community & Online (ECO) Business Intelligence team to transf...
分类:
其他好文 时间:
2014-06-20 19:27:58
阅读次数:
214
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:
其他好文 时间:
2014-06-20 15:30:19
阅读次数:
227