码迷,mamicode.com
首页 >  
搜索关键字:roman to integer    ( 15811个结果
LeetCode:First Missing Positive
题目链接 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 algo...
分类:其他好文   时间:2014-06-29 07:44:48    阅读次数:321
Checkio: Roman numerals
题目: Roman numerals come from the ancient Roman numbering system. They are based on specific letters of the alphabet which are combined to signify the sum (or, in some cases, the difference) of th...
分类:其他好文   时间:2014-06-20 12:27:09    阅读次数:394
赵雅智_sqlite修改表结构
1.更改数据库版本号(每次更新都一定要进行版本的升级) 2.更新语句一条一条写,不能并列写 例如: public void onUpgrade(SQLiteDatabase db, int arg1, int arg2) { db.execSQL("alter table users add userage integer;alter table users add usersalary ...
分类:数据库   时间:2014-06-20 11:43:30    阅读次数:268
Java集合01----ArrayList的遍历方式及应用
Java集合01----ArrayList的遍历方式及应用 1.ArrayList的遍历方式 a.一般for循环(随机访问) Integer value = null; int size = list.size(); for (int i=0; i<size; i++) { value = (Integer)list.get(i); } b.增强型for循环(for...
分类:编程语言   时间:2014-06-20 10:22:41    阅读次数:240
EL表达式中的数字类型
今天遇到一个有趣的问题,ye...
分类:其他好文   时间:2014-06-07 14:30:35    阅读次数:196
Saving HDU
Saving HDU Time Limit : 3000/1000ms (Java/Other)   Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 31   Accepted Submission(s) : 15 Font: Times New Roman | Verdana | Georgia Font Si...
分类:其他好文   时间:2014-06-07 12:28:15    阅读次数:334
leetcode——Reverse Integer 反转整数数字(AC)
这个题比较简单,考虑特殊情况如12000,注意检查反转后数字是否会越界溢出。...
分类:其他好文   时间:2014-06-07 12:01:08    阅读次数:258
spring3+mybatis3+mysql
玩了一下mybatis,网上源码说的不太清楚。自己写了一下。希望对大家有用(spring3+mybatis3+mysql)实体类:package org.my.entity;public class User { private Integer id; private String na...
分类:数据库   时间:2014-06-07 07:14:07    阅读次数:318
Delphi 二維數組 和 多維數組
procedure TForm1.Button1Click(Sender: TObject);vars:string;i,j,k:integer;arr:Array of array of array of string;lst:TStringList;beginlst:=TStringlist.C...
分类:其他好文   时间:2014-06-05 18:12:58    阅读次数:266
string系列操作
一、Move操作varpSource,pDest:PChar;len:integer;.......................//一些代码Move(pSource,pDest,len);//错误Move(pSource^,pDest^,len);//正确,根据Move函数: S:=PCha.....
分类:其他好文   时间:2014-06-05 16:40:17    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!