码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
[LeetCode] Letter Combinations of a Phone Number
Letter Combinations of a Phone Number Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone b...
分类:其他好文   时间:2015-04-03 01:38:10    阅读次数:160
POJ1163——The Triangle
Description73 88 1 02 7 4 44 5 2 6 5(Figure 1)Figure 1 shows a number triangle. Write a program that calculates the highest sum of...
分类:其他好文   时间:2015-04-02 22:33:22    阅读次数:192
3、待做实验
1、在Config.pm中有这样一个参数$nClass = 32; # number of regression classes就是回归类的数量,我如果调整这个参数,像康世胤调整HMM状态数一样,会不会得到好的结果2、这个需要做个实验,验证一下。
分类:其他好文   时间:2015-04-02 22:18:02    阅读次数:146
阿里2015实习的一道题
#include#includeusing namespace std;#define INF 1000int zhao_zuixiaozhi(vector &ary);int COUT_xulie(vector &ary){ int jishu_number=0; int now_min_num....
分类:其他好文   时间:2015-04-02 22:17:37    阅读次数:137
UVA_488:Triangle Wave
PS:The input begins with a single positive integer on a line by itself indicating the number of the cases following, each of them as described below. ...
分类:其他好文   时间:2015-04-02 22:13:43    阅读次数:157
letcode code]Maximum Subarray
1 题目:Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1...
分类:其他好文   时间:2015-04-02 22:06:17    阅读次数:166
HDU 4006 The kth great number【优先队列】
题意:输入n行,k,如果一行以I开头,那么插入x,如果以Q开头,则输出第k大的数用优先队列来做,将队列的大小维护在k这么大,然后每次取队首元素就可以了另外这个维护队列只有k个元素的时候需要注意一下,先将输入的数都插入之后再将多余的数弹出去,这样才能保证留在队列里面的数是前k大的数另外想到set里面的...
分类:其他好文   时间:2015-04-02 20:44:58    阅读次数:146
js学习20150401(五)
一、js数据类型: 字符串:string 数字:number 布尔:boolean undefined 复合类型:object functiontypeof 出现undefined的两种情况 1、定义了没有赋值 2、typeof a 根本就没有定义 3、函数没有返回值 4、访问一个不存在的属性 5、...
分类:Web程序   时间:2015-04-02 20:34:21    阅读次数:108
两位整数变英文单词
#include int main(){ int i; char tens,sin; printf("enter a two-digit number:\n"); scanf("%d",&i); if(20<=i&&i<100) ...
分类:其他好文   时间:2015-04-02 20:21:14    阅读次数:128
Factorial Trailing Zeroes
Factorial Trailing Zeroes问题:Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.思...
分类:其他好文   时间:2015-04-02 18:26:49    阅读次数:117
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!