粽子达人闲来无聊,加上今天没有抢到小米任何产品,(小米2以来,基本小米的产品都有抢到过,特别是红米手机抢得够多,现在就遗憾抢不到红米note了),所以想吃200个粽子,成为攻城狮。可由于手拙,只能吃到
100 多,无法完成心愿。故只好使用外挂,小小几行代码模拟敲击 white space key 就...
分类:
移动开发 时间:
2014-06-29 15:00:40
阅读次数:
289
Given amxngrid filled with non-negative
numbers, find a path from top left to bottom right whichminimizesthe sum of all
numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-06-04 20:57:08
阅读次数:
360
Given two numbers represented as strings,
return multiplication of the numbers as a string.Note: The numbers can be
arbitrarily large and are non-nega...
分类:
其他好文 时间:
2014-06-04 20:19:04
阅读次数:
313
原题地址:https://oj.leetcode.com/problems/subsets-ii/题意:Given
a collection of integers that might contain duplicates,S, return all possible
subsets.Note:E...
分类:
编程语言 时间:
2014-05-29 19:10:53
阅读次数:
278
Given an arraySofnintegers, are there
elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which
gives the sum of zero.Note:Elemen...
分类:
其他好文 时间:
2014-05-28 16:47:30
阅读次数:
308
原文:
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 ...
分类:
其他好文 时间:
2014-05-25 21:30:02
阅读次数:
276
/*自我修改* Note: 堆排序(Heap Sort)*/#include using
namespace std;// 输出当前堆的排序状况void PrintArray(int data[], int size){ for (int i=1;
i a[i]) // 符号修改后形成...
分类:
其他好文 时间:
2014-05-25 19:07:25
阅读次数:
227
【题目】
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.
If the last word does not exist, return 0.
Note: A word is defined as a character sequence consists of non-space ...
分类:
其他好文 时间:
2014-05-25 07:39:05
阅读次数:
256
今天折腾了一天终于可以可以直接从SD卡启动6410的裸板程序了,这也让我实现了完全在linux下开发裸板代码。详细过程如下:
1.通过查SMDK6410_IROM_APPLICATION NOTE_REV 1.00,可以查到如下
其中BL1是开发板自动运行的固件代码
从上可以知道应将代码烧到最后地址-(1025+1+16)*512字节处
2.测试代码如下:
1 ....
分类:
其他好文 时间:
2014-05-25 04:46:13
阅读次数:
261
题目:
Given an array S of n integers, are there elements a, b, c in S such that a + b + c =
0? Find all unique
triplets in the array which gives the sum of zero.
Note:
Elements...
分类:
其他好文 时间:
2014-05-25 00:39:37
阅读次数:
343