Lesson learnt: Get rid of XX algorithm routines clogging your mind and focus\enjoy the problem itself!// Forward declaration of the knows API.bool kno...
分类:
其他好文 时间:
2015-09-11 01:32:09
阅读次数:
336
1 class RequestContext(Context): 2 """ 3 This subclass of template.Context automatically populates itself using 4 the processors defined ...
分类:
其他好文 时间:
2015-09-08 08:26:28
阅读次数:
166
题目:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / ...
分类:
其他好文 时间:
2015-09-06 20:15:28
阅读次数:
131
题目:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / ...
分类:
其他好文 时间:
2015-08-30 17:17:29
阅读次数:
140
题目描述In mathematics, a square number is an integer that is the square of an integer. In other words, it is the product of some integer with itself. For...
分类:
其他好文 时间:
2015-08-29 18:44:44
阅读次数:
147
History repeat itselfTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:434264-bit integer IO format:%I64d Java cla...
分类:
其他好文 时间:
2015-08-28 12:48:36
阅读次数:
141
题目传送门题意:计算从1开始到第n个非完全平方数的开方和分析:设第n个非完全平方数的值为a,x * x #include #include #include #include #include #include #include #include #include #include #include...
分类:
其他好文 时间:
2015-08-28 09:34:05
阅读次数:
149
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
But the f...
分类:
其他好文 时间:
2015-08-27 18:42:27
阅读次数:
127
JavaScript中的this关键字JavaScript函数中的关键字this并不指其本身(Itself),举例说明:function foo(num) {
console.log( "foo: " + num ); // keep track of how many times `foo` is called
this.count++;
}foo.count = 0;var...
分类:
编程语言 时间:
2015-08-26 07:08:18
阅读次数:
198
Well, this problem is not that easy. First you may need some clarifications about the problem itself. If you do, you may refer to this link for a nice...
分类:
其他好文 时间:
2015-08-25 23:16:23
阅读次数:
326