; 感觉双休就想睡觉,这鬼天气,一直下雨。设置时间未完成,只是加了一个所谓的主界面; display
system time. press f1 to change the color displayed, press esc to return main
list. f3 exit; clear_...
分类:
其他好文 时间:
2014-05-27 03:09:58
阅读次数:
320
Given a collection of numbers, return all
possible permutations.For example,[1,2,3]have the following
permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,...
分类:
其他好文 时间:
2014-05-27 02:42:35
阅读次数:
202
echo -e "#include \nint main()\n{\n printf(\"hello
world\\\n\");\n return 0;\n}" > h.c; gcc h.c; ./a.outh.c里的内容#include int
main(){ printf("h...
分类:
其他好文 时间:
2014-05-24 07:34:05
阅读次数:
213
/** * isAjaxRequest:判断请求是否为Ajax请求. * @param request
请求对象 * @return boolean * @since JDK 1.6 */public boolean
isAjaxRequest(HttpServletRequest request....
分类:
编程语言 时间:
2014-05-24 06:11:54
阅读次数:
254
Context.javapackage edu.interpreter;public class
Context { private String input; private int output; public String getInput() {
return...
分类:
其他好文 时间:
2014-05-19 14:56:22
阅读次数:
322
题目链接Given two numbers represented as strings,
return multiplication of the numbers as a string.Note: The numbers can be
arbitrarily large and are non-...
分类:
其他好文 时间:
2014-05-19 14:10:25
阅读次数:
250
#include#include#includeusing namespace std;int
helper1(int a[],int n){ int sum = accumulate(a,a+n,0); int sum2 = n*(n-1)/2;
return sum-sum2;}int h...
分类:
其他好文 时间:
2014-05-19 12:25:25
阅读次数:
183
Given two binary strings, return their sum
(also a binary string).For example,a ="11"b ="1"Return"100".public class
Solution { public String addBin...
分类:
其他好文 时间:
2014-05-19 12:15:49
阅读次数:
220
#includeusing namespace std;bool solver(const int
a[],const int n, int & num){ if(NULL == a || 0>= n) return false;
////注意,是小写~ int count = 0; ...
分类:
其他好文 时间:
2014-05-19 12:11:20
阅读次数:
335
Remove Duplicates from Sorted Array IGiven a
sorted array, remove the duplicates in place such that each element appear only
once and return the new l...
分类:
其他好文 时间:
2014-05-19 12:10:41
阅读次数:
329