码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
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 numb...
分类:其他好文   时间:2014-11-16 07:05:48    阅读次数:159
POJ 1966 Cable TV Network
Cable TV NetworkTime Limit: 1000msMemory Limit: 30000KBThis problem will be judged onPKU. Original ID:196664-bit integer IO format:%lld Java class nam...
分类:Web程序   时间:2014-11-15 23:10:32    阅读次数:466
nyoj 708
ones时间限制:1000ms | 内存限制:65535KB难度:3描述Given a positive integer N (0#include#include#includeusing namespace std;const int maxn=10005;int n,dp[maxn];void....
分类:其他好文   时间:2014-11-15 18:50:22    阅读次数:167
Reverse Integer
Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321click to show spoilers.Have you thought about this?Here are som...
分类:其他好文   时间:2014-11-15 13:56:56    阅读次数:181
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-11-15 11:26:23    阅读次数:188
java各种数据类型之间的转换
1,int类型转换为字符串 三种方法: 1.)Strings=String.valueOf(i);2.)Strings=Integer.toString(i);3.)Strings=""+i;2,double型转换为字符串可以使用方法: Double.toString(double d)注意,Do....
分类:编程语言   时间:2014-11-15 11:17:36    阅读次数:247
Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thinki...
分类:其他好文   时间:2014-11-15 09:58:31    阅读次数:222
leetcode Evaluate Reverse Polish Notation
Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
分类:其他好文   时间:2014-11-15 08:52:11    阅读次数:170
Java Integer 常量池
Integer类Integer 类在对象中包装了一个基本类型 int 的值。Integer 类型的对象包含一个 int 类型的字段。 此外,该类提供了多个方法,能在 int 类型和 String 类型之间互相转换,还提供了处理 int 类型时非常有用的其他一些常量和方法。Integer i = 10...
分类:编程语言   时间:2014-11-14 22:33:33    阅读次数:263
BNUOJ 36005 Chemical Reaction
Chemical ReactionTime Limit: 3000msMemory Limit: 65536KBThis problem will be judged onOpenJudge. Original ID:C14H64-bit integer IO format:%lld Java cl...
分类:其他好文   时间:2014-11-14 22:29:42    阅读次数:266
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!