Find The Multiple
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 18757
Accepted: 7592
Special Judge
Description
Given a positive integer n, write a pr...
分类:
其他好文 时间:
2015-01-03 09:23:07
阅读次数:
137
QUESTIONGiven a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... ...
分类:
其他好文 时间:
2015-01-03 08:10:42
阅读次数:
166
题目1095:2的幂次方
时间限制:1 秒
内存限制:32 兆
特殊判题:否
提交:772
解决:525
题目描述:
Every positive number can be presented by the exponential form.For example, 137 = 2^7 + 2^3 + 2^0。
Le...
分类:
其他好文 时间:
2015-01-01 07:55:41
阅读次数:
217
DP.类似最大和。就是要记录正的和负的两种情况。class Solution {public: int maxProduct(int A[], int n) { vector positive(n); vector minus(n); int resu...
分类:
其他好文 时间:
2015-01-01 00:06:23
阅读次数:
214
Matrix Power Series
Time Limit: 3000MS
Memory Limit: 131072K
Total Submissions: 15997
Accepted: 6840
Description
Given a n × n matrix A and a positive integer k, ...
分类:
其他好文 时间:
2014-12-29 15:24:28
阅读次数:
160
Exercise 6-1. write a program that will prompt for and read a positive integer less than1,000 from the keyboard, and then create and output a string t...
分类:
其他好文 时间:
2014-12-28 23:33:48
阅读次数:
190
【题目】
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 algorithm should run in O(n) time and use...
分类:
其他好文 时间:
2014-12-28 22:21:58
阅读次数:
242
问题描述:
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
27 -> AA
28 -> AB
...
分类:
其他好文 时间:
2014-12-28 10:29:31
阅读次数:
161
题目地址:https://oj.leetcode.com/problems/excel-sheet-column-title/题目内容:Given a positive integer, return its corresponding column title as appear in an Ex...
分类:
其他好文 时间:
2014-12-27 06:44:00
阅读次数:
152
Given an array with positive and negative integers. Re-range it to interleaving with positive and negative integers.NoteYou are not necessary to keep ...
分类:
其他好文 时间:
2014-12-27 01:26:58
阅读次数:
421