码迷,mamicode.com
首页 >  
搜索关键字:integer    ( 14932个结果)
IOS秒转日期和注意的细节
(NSString *)dateToTime:(NSInteger)integer {NSDate *confromTimesp = [NSDate dateWithTimeIntervalSince1970:integer];NSDateFormatter *dateFormate = [[NSD...
分类:移动开发   时间:2015-07-29 15:32:34    阅读次数:131
leetcode-168-Excel Sheet Column Title
Excel Sheet Column Title   Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z ...
分类:其他好文   时间:2015-07-29 14:09:15    阅读次数:120
IOS switch-case知多少
1. switch参数类型switch参数类型要求是integer type,准确来讲,是可以转换成integer的类型, 这包括所有的C基本数据类型((signed/unsigned)char, (short/long signed/unsigned)int, float, double, lon...
分类:移动开发   时间:2015-07-28 22:40:40    阅读次数:6295
[LintCode] Median(期望时间复杂度O(n)求中位数)
1 class Solution { 2 public: 3 /** 4 * @param nums: A list of integers. 5 * @return: An integer denotes the middle number of the array....
分类:其他好文   时间:2015-07-28 20:56:15    阅读次数:1220
integer to roman leetcode c++实现
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.将整数用罗马数字表示。思路分析: {"","I","II","III","IV",".....
分类:编程语言   时间:2015-07-28 12:46:42    阅读次数:164
BNU 28887——A Simple Tree Problem——————【将多子树转化成线段树+区间更新】
A Simple Tree ProblemTime Limit: 3000msMemory Limit: 65536KBThis problem will be judged onZJU. Original ID:368664-bit integer IO format:%lld Java clas...
分类:其他好文   时间:2015-07-28 12:19:15    阅读次数:131
Calculation 2-欧拉函数的运用
Calculation 2 Time Limit: 1000MS   Memory Limit: 32768KB   64bit IO Format: %I64d & %I64u Submit Status Description Given a positive integer N, your task is to calculate ...
分类:其他好文   时间:2015-07-28 10:57:42    阅读次数:108
Android Asmack登录
使用的是AsyncTask,可以把login放到里面。因为这是我自己的项目代码,所以我尽量不发太多耦合性很强的代码 private Integer login(){ String name = Util.readPre(context, app.getLoginname(), GoLoveAp...
分类:移动开发   时间:2015-07-28 10:34:48    阅读次数:132
Submatrix Sum
Given an integer matrix, find a submatrix where the sum of numbers is zero. Your code should return the coordinate of the left-up and right-down numbe...
分类:其他好文   时间:2015-07-28 06:40:25    阅读次数:139
POJ 2417/BZOJ 3239(Discrete Logging-BSGS)[Template:数论]
Discrete Logging Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 4236   Accepted: 1948 Description Given a prime P, 2 31, an integer B, 2 BL == N (mod...
分类:其他好文   时间:2015-07-28 00:51:53    阅读次数:111
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!