码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
VBS基础篇-----数据类型之间的转换
ValueDescriptionByteByte valueIntegerInteger valueLongLong integer valueSingleSingle-precision floating-point valueDoubleDouble-precision floating-poi...
分类:其他好文   时间:2015-06-11 10:50:50    阅读次数:145
JavaScript学习总结-技巧、实用函数、简洁方法、编程细节
整理JavaScript方面的一些技巧,比较实用的函数,常见功能实现方法,仅作参考 变量转换 //edit http://www.lai18.com var myVar = "3.14159", str = ""+ myVar,// to string int = ~~myVar, // to integer float = 1*myVar, // to float ...
分类:编程语言   时间:2015-06-11 09:28:22    阅读次数:135
Algorithms
Count prime numbers not exceeding n(n>0)Pseudocode:Input: an integer n > 1 Let A be an array of Boolean values, indexed by integers 2 to n,initially a...
分类:其他好文   时间:2015-06-11 06:57:38    阅读次数:81
ArrayList类示例1
ArrayList类示例2importjava.util.ArrayList;publicclassArrayListDemo2{ //放入 publicstaticvoidmain(String[]args){ ArrayList<Integer>a1=newArrayList<Integer>();//创建一个空的ArrayList对象 for(inti=0;i<10;i++){ Integera2=newInteger(i);//创建..
分类:其他好文   时间:2015-06-11 00:25:50    阅读次数:115
LeetCode【9】. Palindrome Number --java的实现
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 thinking of conver...
分类:编程语言   时间:2015-06-11 00:14:55    阅读次数:173
Integer Game(UVA11489)3的倍数
K - Integer Game Time Limit:1000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Submit Status Practice UVA 11489         题意:在n中取数字,使剩下的数是3的倍数,不能取则失败。 思路:如果能使当前数为3的倍数,数字和必是3的倍数。...
分类:其他好文   时间:2015-06-10 22:35:38    阅读次数:139
Integer Game(UVA11489)3的倍数
K - Integer GameTime Limit:1000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVA 11489题意:在n中取数字,使剩下的数是3的倍数,不能取则失败。思路:如果能使当前数为3...
分类:其他好文   时间:2015-06-10 22:29:05    阅读次数:163
[leetcode 13]Roman to integer
1 题目:Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.2 思路和上一道反过来,好吧,但是思路不一样。我写的代码思路一样,要考虑一些特...
分类:其他好文   时间:2015-06-10 21:03:44    阅读次数:115
[leetcode 12] Inter to Roman
1 题目:Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.Hide TagsMathString2 思路:经过我仔细研读维基百科的说明h...
分类:其他好文   时间:2015-06-10 20:44:01    阅读次数:126
Spring MVC 对@InitBinder数据绑定的使用
Javabean PlatformUser.java @Entity @Table(name?=?"dsm_USER") public?class?PlatformUser?extends?DsmObject?{ @Id @GeneratedValue(strategy?=?GenerationType.AUTO) @Column private?Integer?use...
分类:编程语言   时间:2015-06-10 15:58:13    阅读次数:142
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!