(NSString *)dateToTime:(NSInteger)integer {NSDate *confromTimesp = [NSDate dateWithTimeIntervalSince1970:integer];NSDateFormatter *dateFormate = [[NSD...
分类:
移动开发 时间:
2015-07-29 15:32:34
阅读次数:
131
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
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
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
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
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
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
使用的是AsyncTask,可以把login放到里面。因为这是我自己的项目代码,所以我尽量不发太多耦合性很强的代码 private Integer login(){ String name = Util.readPre(context, app.getLoginname(), GoLoveAp...
分类:
移动开发 时间:
2015-07-28 10:34:48
阅读次数:
132
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
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