码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
【Merge Sorted Array】cpp
题目:Given two sorted integer arraysnums1andnums2, mergenums2intonums1as one sorted array.Note:You may assume thatnums1has enough space (size that is gr...
分类:其他好文   时间:2015-05-18 16:12:27    阅读次数:87
leetcode--Gray Code
题目描述 The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total number of bits in the code, print the se...
分类:其他好文   时间:2015-05-18 09:12:13    阅读次数:118
20-C语言typedef
一、typedef作用简介 * 我们可以使用typedef关键字为各种数据类型定义一个新名字(别名)。 #include typedef int Integer; typedef unsigned int UInterger; typedef float Float; int main(int ar...
分类:编程语言   时间:2015-05-18 00:53:54    阅读次数:212
poj 2356 Find a multiple (鸽巢原理妙用)
题目链接:http://poj.org/problem?id=2356 Description The input contains N natural (i.e. positive integer) numbers ( N <= 10000 ). Each of that numbers is not greater than 15000. This numbers are not ...
分类:其他好文   时间:2015-05-17 18:49:32    阅读次数:126
[LeetCode] Merge Sorted Array
Merge Sorted Array Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: You may assume that nums1 has enough space (size that is greater or equal...
分类:其他好文   时间:2015-05-17 18:44:52    阅读次数:100
理解委托
委托是一种类型.委托像String,像Integer,像我们定义的Class一样,是一种类中.委托是一种引用方法的类型.与委托的签名(参数和返回值)匹配的方法都可以分配给该委托.方法可以是静态方法,也可以是实例方法.一旦为委托分配了方法,委托将与该方法具有相同的行为.委托方法的调用可以像其他方法一样...
分类:其他好文   时间:2015-05-17 15:16:39    阅读次数:112
[LintCode] Find Peak Element II
There is an integer matrix which has the following features:The numbers in adjacent positions are different.The matrix has n rows and m columns.For al...
分类:其他好文   时间:2015-05-17 14:58:30    阅读次数:115
poj 1651 区间dp
Multiplication Puzzle Description The multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move player takes one card out of the row and scores the number of points equal to the product of the number o...
分类:其他好文   时间:2015-05-17 12:18:43    阅读次数:88
POJ 1426 Find The Multiple
Find The Multiple Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 20297   Accepted: 8236   Special Judge Description Given a positive integer n, write a ...
分类:其他好文   时间:2015-05-17 09:27:30    阅读次数:116
POJ 3070 Fibonacci (矩阵快速幂)
FibonacciTime Limit:1000MSMemory Limit:65536KTotal Submissions:10440Accepted:7421DescriptionIn the Fibonacci integer sequence,F0= 0,F1= 1, andFn=Fn? 1...
分类:其他好文   时间:2015-05-17 00:47:48    阅读次数:149
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!