after work for almost two years, I have realize the truth notes can help a lot for us. avoiding my lazy life, I decide to sign something important up....
分类:
其他好文 时间:
2015-08-02 23:16:17
阅读次数:
111
Problem Statement
Bear Limak was chilling in the forest when he suddenly found a computer program. The program was a correct implementation of MergeSort. Below you can find the program in ...
分类:
编程语言 时间:
2015-08-02 21:45:31
阅读次数:
181
Three Palindromes
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 809 Accepted Submission(s): 240
Problem Description
Can we divided...
分类:
其他好文 时间:
2015-08-02 21:44:34
阅读次数:
127
A lot of battleships of evil are arranged in a line before the battle. Our commander decides to use our secret weapon to eliminate the battleships. Ea...
分类:
其他好文 时间:
2015-08-02 21:29:51
阅读次数:
128
You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you cli...
分类:
其他好文 时间:
2015-08-02 16:25:34
阅读次数:
125
http://acm.hdu.edu.cn/showproblem.php?pid=5340
Problem Description
Can we divided a given string S into three nonempty palindromes?
Input
First line contains a single integer T≤...
分类:
其他好文 时间:
2015-08-02 15:16:06
阅读次数:
153
Reverse a singly linked list.Hint:A linked list can be reversed either iteratively or recursively. Could you implement both?Solution 1:iteration 1 /**...
分类:
其他好文 时间:
2015-08-02 14:57:55
阅读次数:
117
July 6, 2015Problem statement:Word SearchGiven a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of ...
分类:
其他好文 时间:
2015-08-02 14:55:34
阅读次数:
103
Description
Urej loves to play various types of dull games. He usually asks other people to play with him. He says that playing those games can show his extraordinary wit. Recently Urej takes a gre...
分类:
其他好文 时间:
2015-08-02 13:44:34
阅读次数:
138
有时候我们会用set命令来设置变量的值,但我们却遇到了一些错误信息,即:不能将此变量设置为“值”。例子:setglobalsql_log_bin=0;就报了如下的错误信息:mysql>setglobalsql_log_bin=0;ERROR1231(42000):Variable‘sql_log_bin‘can‘tbesettothevalueof‘0‘官方解释:5.5、..
分类:
数据库 时间:
2015-08-02 06:40:25
阅读次数:
430