码迷,mamicode.com
首页 >  
搜索关键字:ora-00020 maximum number of processes    ( 31512个结果
python中的单元测试
python中的单元测试可以使用doctest,unittest完成 1.doctest的使用 (1)写入程序如下(cubetest.py): #!/usr/bin/python def cube(x): """ cube a number and return the result >>> cube(2) 8 >>> cube(3) 27 >>> cube(4) 64...
分类:编程语言   时间:2014-05-13 23:33:19    阅读次数:491
leetcode第一刷_Valid Number
又是那种看上去非常简单,但非常难过的问题,主要是所有的测试用例很难考虑全面。下面我列举出所有的情况: 1. 字符串前面是可以含有空格的,但是全部都是空格是不行的。 2. 一个数字开头可以是哪些字符呢?很容易想到的是“+”和“-”,但是别忘记还有小数点。 3. 一个数字中间也是可以含有字符的,比如科学计数法的“e”,而且e之后是可以接“+”或者“-”的。但是要注意e是不是作为数字的开头或者结尾...
分类:其他好文   时间:2014-05-13 07:16:48    阅读次数:232
Leetcode 数 Palindrome Number
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie Palindrome Number  Total Accepted: 12165 Total Submissions: 41736 Determine whether an integer is a palindrome. Do this wit...
分类:其他好文   时间:2014-05-13 05:28:07    阅读次数:253
[leetcode]Minimum Depth of Binary Tree @ Python
原题地址:http://oj.leetcode.com/problems/minimum-depth-of-binary-tree/题意:Given a binary tree, find its minimum depth.The minimum depth is the number of no...
分类:编程语言   时间:2014-05-12 21:55:15    阅读次数:348
CF169D2 D – Little Girl and Maximum XOR 贪心
解题思路:经过打表可得规律答案要么是0 要么是2的N次要得到最大的XOR值,其值一定是2的N次即在 l 和 r 的二进制中,从左到右遍历过去,如果碰到 l 为 1 r 为 0则可说明在『l , r】中存在 1000000000 和 0111111111 可得到最大XOR值为2的N次PS:不会存在首先...
分类:其他好文   时间:2014-05-12 20:05:45    阅读次数:324
Bootstrap_02_流动网格布局
<!doctypehtml> <html> <head> <title>益司CMS-PC与手机建站集成</title> <metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"> <linkhref="__PUBLIC__/bootstrap/css/bootstrap...
分类:其他好文   时间:2014-05-12 03:54:09    阅读次数:253
Bootstrap_01_网格布局
<!doctypehtml> <html> <head> <title>益司CMS-PC与手机建站集成</title> <metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"> <linkhref="__PUBLIC__/bootstrap/css/bootstrap...
分类:其他好文   时间:2014-05-12 03:13:07    阅读次数:236
Maximum Bipartite Matching
算法旨在用尽可能简单的思路解决问题,理解算法也应该是一个越看越简单的过程,当你看到算法里的一串概念,或者一大坨代码,第一感觉是复杂,此时不妨从例子入手,通过一个简单的例子,并编程实现,这个过程其实就可以理解清楚算法里的最重要的思想,之后扩展,对算法的引理或者更复杂的情况,对算法进行改进。最后,再考虑时间和空间复杂度的问题。        了解这个算法是源于在Network Alignment问题...
分类:其他好文   时间:2014-05-11 22:31:54    阅读次数:573
bootstrap_04_列表
<!doctypehtml> <html> <metacharset="utf-8"/> <head> <title>益司CMS-PC与手机建站集成</title> <metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"> <linkrel="stylesh..
分类:其他好文   时间:2014-05-11 19:37:34    阅读次数:338
bootstrap_03_常用标签
<!doctypehtml> <html> <metacharset="utf-8"/> <head> <title>益司CMS-PC与手机建站集成</title> <metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"> <linkrel="stylesh..
分类:其他好文   时间:2014-05-11 19:22:08    阅读次数:386
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!