码迷,mamicode.com
首页 >  
搜索关键字:reverse integer    ( 19410个结果
xtu summer individual 2 D - Colliders
CollidersTime Limit: 2000msMemory Limit: 262144KBThis problem will be judged onCodeForces. Original ID:155D64-bit integer IO format:%I64d Java class n...
分类:其他好文   时间:2014-08-01 22:44:42    阅读次数:357
【HackerRank】 The Full Counting Sort
In this challenge you need to print the data that accompanies each integer in a list. In addition, if two strings have the same integers, you need to ...
分类:其他好文   时间:2014-08-01 22:40:42    阅读次数:323
poj 2777 线段树的区间更新
Count ColorTime Limit: 1000 MS Memory Limit: 65536 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]Descripti...
分类:其他好文   时间:2014-08-01 22:35:22    阅读次数:290
Reverse Integer
问题:翻转数字分析:注意初始化class Solution {public: int reverse(int x) { int y=0; while(x) { y=(y*10)+x%10; x/=10; ...
分类:其他好文   时间:2014-08-01 22:32:12    阅读次数:174
delphi 滚屏
滚屏 uses MSHTML;vara: IHTMLDocument2;x,y:Integer;beginy:=y+20;//加减进行上下滚动a :=WebBrowser1.Document as IHTMLDocument2;a.Get_ParentWindow.Scroll(x,y);end;来...
分类:其他好文   时间:2014-08-01 19:37:42    阅读次数:174
hdu 1266 Reverse Number
Reverse NumberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5052Accepted Submission(s): 2352Prob...
分类:其他好文   时间:2014-08-01 19:28:02    阅读次数:301
zju 1295 Reverse Text
Reverse TextTime Limit: 2 Seconds Memory Limit: 65536 KBIn most languages, text is written from left to right. However, there are other languages whe....
分类:其他好文   时间:2014-08-01 19:23:32    阅读次数:202
(四)、利用命令行参数输入一个整数,打印空心菱形
1 /*利用命令行参数输入一个整数,并判断该数字是否为奇数,如果是奇数,则用其作行数打印空心菱形 2 –PS:将字符串转换为数字的方法 3 ?int num=Integer.parseInt(String number);*/ 4 5 package com.gen; 6 public clas.....
分类:其他好文   时间:2014-08-01 19:22:22    阅读次数:293
(五)、利用命令行参数输入三个整数,并对三个数字进行降序排列
1 /*利用命令行参数输入三个整数,并对三个数字进行降序排列。 2 –PS:将字符串转换为数字的方法 3 ?int num=Integer.parseInt(String number);*/ 4 package com.gen; 5 6 public class ArgumentOrder {.....
分类:其他好文   时间:2014-08-01 19:21:22    阅读次数:232
收集的一些零散代码
格式化文本,动态添加空格functionformatStr(constsrcStr:string;Leng:integer):string; var i,iLen:integer; begin //先把原字符串赋值给返回字符串Result Result:=srcStr; //计算相差多少空格 iLen:=Leng-Length(srcStr); //在返回字符串后,补齐空格 fori:=1toiLendo begin ..
分类:其他好文   时间:2014-08-01 13:55:42    阅读次数:168
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!