码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
hdu 4658 Integer Partition
http://acm.hdu.edu.cn/showproblem.php?pid=4658这道题不会做,看着别人的写的。这道题求的是一个数的划分,但是划分中一个数不能重复k次,用到了五边形数定理,没看懂。 1 #include 2 #include 3 #include 4 #define ...
分类:其他好文   时间:2014-10-20 22:34:25    阅读次数:354
[LeetCode]String to Integer (atoi)
Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ...
分类:其他好文   时间:2014-10-20 20:59:42    阅读次数:275
LeetCode: First Missing Positive 解题报告
Q:Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0]return 3,and [3,4,-1,1]return 2.Your algorithm sho...
分类:其他好文   时间:2014-10-20 20:47:32    阅读次数:231
HDU 3081 Marriage Match II
Marriage Match IITime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:308164-bit integer IO format:%I64d Java class n...
分类:其他好文   时间:2014-10-20 19:16:28    阅读次数:207
[LeetCode]Roman to Integer
首先,学习一下罗马数字,参考罗马数字罗马数字是最古老的数字表示方式,比阿拉伯数组早2000多年,起源于罗马罗马数字有如下符号:基本字符IVXLCDM对应阿拉伯数字1510501005001000计数规则: 相同的数字连写,所表示的数等于这些数字相加得到的数,例如:III = 3小的数字在大的数字右边...
分类:其他好文   时间:2014-10-20 16:58:47    阅读次数:165
Ruby Numeric
Numeric|-- Float|-- Integer |-- Fixnum |-- BignumNumeric的基本结构整数的差异,一般的数字Fixnum就能够处理,即使超过了Fixnum的处理范围也会直接转换为Bignum,不需要程序员处理。0b开头的数字是二进制的;0开头的数字是八...
分类:其他好文   时间:2014-10-20 16:52:24    阅读次数:153
UVA 11404 Palindromic Subsequence
Palindromic SubsequenceTime Limit: 3000msMemory Limit: 131072KBThis problem will be judged onUVA. Original ID:1140464-bit integer IO format:%lld Java ...
分类:其他好文   时间:2014-10-20 16:42:22    阅读次数:136
ural 1057 Amount of Degrees(数位DP)
1057. Amount of Degrees Time limit: 1.0 second Memory limit: 64 MB Create a code to determine the amount of integers, lying in the set [X;Y] and being a sum of exactlyK different integer de...
分类:其他好文   时间:2014-10-20 15:16:05    阅读次数:227
UVALIVE 4256 Salesmen
SalesmenTime Limit: 3000msMemory Limit: 131072KBThis problem will be judged onUVALive. Original ID:425664-bit integer IO format:%lld Java class name:M...
分类:其他好文   时间:2014-10-20 14:52:53    阅读次数:236
POJ 2533 Longest Ordered Subsequence
Longest Ordered SubsequenceTime Limit: 2000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:253364-bit integer IO format:%lld Jav...
分类:其他好文   时间:2014-10-20 11:28:21    阅读次数:174
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!