Compiler Warnings 编译器警告
Oracle 10g allows you to enable compile-time warnings that are useful to identify potential run-time problems in your programs. These warnings are not serious enough to rais...
分类:
数据库 时间:
2015-06-06 23:35:07
阅读次数:
179
Resist the Temptation of the Singleton PatternSam SaaristeTHE SiNGLETON PATTERN SOLVES MANY OF YOUR PROBLEMS. You know that you only need a single instance. You have a guarantee that this instance is i...
分类:
其他好文 时间:
2015-06-06 09:09:16
阅读次数:
143
https://leetcode.com/problems/contains-duplicate-ii/Given an array of integers and an integerk, find out whether there there are two distinct indicesi...
分类:
其他好文 时间:
2015-06-06 00:17:46
阅读次数:
165
https://leetcode.com/problems/remove-nth-node-from-end-of-list/原题:Given a linked list, remove thenthnode from the end of list and return its head.For ...
分类:
其他好文 时间:
2015-06-06 00:16:53
阅读次数:
141
“command not found: django-admin”¶django-adminshould be on your system path if you installed Django viapythonsetup.py. If it’s not on your path, you c...
分类:
其他好文 时间:
2015-06-05 13:38:25
阅读次数:
83
题目链接:http://poj.org/problem?id=2151题目大意:有M个题目,T支队伍,第i个队伍做出第j个题目的概率为Pij,问每个队伍都至少做出1个题并且至少有一个队伍做出N题的概率。先定义状态dp[i][j][k],代表第i支队伍从前j个题目里正好做出k题的概率。有:dp[i][...
分类:
其他好文 时间:
2015-06-05 00:21:38
阅读次数:
97
Mathematically some problems look hard. But with the help of the computer, some problems can be easily solvable.In this problem, you will be given two integers a and b. You have to find the summation o...
分类:
其他好文 时间:
2015-06-04 22:54:53
阅读次数:
161
https://leetcode.com/problems/longest-common-prefix/原题:Write a function to find the longest common prefix string amongst an array of strings.思路:简单,直接遍...
分类:
其他好文 时间:
2015-06-03 19:02:16
阅读次数:
120
https://leetcode.com/problems/integer-to-roman/原题:Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to...
分类:
其他好文 时间:
2015-06-03 15:06:51
阅读次数:
99
https://leetcode.com/problems/jump-game/
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maxi...
分类:
其他好文 时间:
2015-06-03 11:53:41
阅读次数:
94