码迷,mamicode.com
首页 >  
搜索关键字:mine number    ( 27191个结果
poj 1007 DNA Sorting
DNA Sorting Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 80359   Accepted: 32327 Description One measure of ``unsortedness'' in a sequence is the number of ...
分类:其他好文   时间:2014-05-13 23:34:18    阅读次数:303
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
Oracle 过程中变量赋值
create or replace function get_sal1(id employees.employee_id%type) return number is sal employees.salary%type;begin sal := 0; select salary into s...
分类:数据库   时间:2014-05-13 19:41:58    阅读次数:456
JavaScript学习——判断数据类型总结(转)
一、JS中的数据类型 1.数值型(Number):包括整数、浮点数。 2.布尔型(Boolean) 3.字符串型(String) 4.对象(Object) 5.数组(Array) 6.空值(Null) 7.未定义(Undefined)二、判断一个变量的数据类型1.数值型(...
分类:编程语言   时间:2014-05-13 17:24:30    阅读次数:360
leetcode第一刷_Valid Number
又是那种看上去非常简单,但非常难过的问题,主要是所有的测试用例很难考虑全面。下面我列举出所有的情况: 1. 字符串前面是可以含有空格的,但是全部都是空格是不行的。 2. 一个数字开头可以是哪些字符呢?很容易想到的是“+”和“-”,但是别忘记还有小数点。 3. 一个数字中间也是可以含有字符的,比如科学计数法的“e”,而且e之后是可以接“+”或者“-”的。但是要注意e是不是作为数字的开头或者结尾...
分类:其他好文   时间:2014-05-13 07:16:48    阅读次数:232
Hydra介绍及使用
Number one of the biggest security holes are passwords, as every password security study shows. Hydra is a parallized login cracker which supports numerous protocols to attack. New modules are easy to...
分类:其他好文   时间:2014-05-13 06:11:08    阅读次数:379
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
Xceed WPF表单输入控件Xceed Editors for WPF 免费下载及介绍
XceedEditorsforWPF是一款包含12种功能强大的WPF编辑控件,用户输入控件,每个控件都具有多种风格主题,包含:日期选择控件、复选框、改进的TextBox、数字输入框、值范围输入框等。具体功能:DatePicker/Calendar:日期选择控件MaskedTextBox:为输入文本指定一种标记格式CheckB..
分类:其他好文   时间:2014-05-13 03:15:42    阅读次数:278
[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
【LeetCode】Reverse Nodes in k-Group
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:其他好文   时间:2014-05-11 18:15:52    阅读次数:300
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!