Problem A: Fractions Again?!Time limit: 1 secondIt is easy to see that for every fraction in the form(k> 0), we can always find two positive integersx...
分类:
其他好文 时间:
2014-11-26 14:16:39
阅读次数:
174
You were given a gift—a talent or askill—that you can use to help empower yourself and eventually empower others.Make the most out of it by touching l...
分类:
其他好文 时间:
2014-11-26 11:01:35
阅读次数:
151
Number Sequence
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 34391
Accepted: 9879
Description
A single positive integer i is given. Write a program to f...
分类:
其他好文 时间:
2014-11-24 22:33:34
阅读次数:
266
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:
其他好文 时间:
2014-11-24 13:30:40
阅读次数:
166
源于hdu1013题目描述:The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that...
分类:
其他好文 时间:
2014-11-23 18:54:41
阅读次数:
249
Sum of Consecutive Prime Numbers
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 19699
Accepted: 10801
Description
Some positive integers can be represen...
分类:
其他好文 时间:
2014-11-23 16:04:23
阅读次数:
163
问题描述:
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 uses con...
分类:
其他好文 时间:
2014-11-23 16:02:15
阅读次数:
211
Problem Description
Alexandra has a little brother. He is new to programming. One day he is solving the following problem: Given an positive integer N, judge whether N is prime.
The problem above is...
分类:
其他好文 时间:
2014-11-23 09:26:35
阅读次数:
240
Sum of Consecutive Prime NumbersTime Limit:1000MSMemory Limit:65536KTotal Submissions:19697Accepted:10800DescriptionSome positive integers can be repr...
分类:
其他好文 时间:
2014-11-23 00:38:40
阅读次数:
188
Every $k\times k$ positive matrix $A=(a_{ij})$ can be realised as a Gram matrix, i.e., vectors $x_j$, $1\leq j\leq k$, can be found so that $a_{ij}=\s...
分类:
其他好文 时间:
2014-11-22 17:26:04
阅读次数:
126