12985. Sum Fun
限制条件
时间限制: 1 秒, 内存限制: 256 兆
题目描述
Given a list of 3 positive integers, it may or may not be true that one of those numbers is the sum of the other two. Given several such sets o...
分类:
其他好文 时间:
2015-02-17 10:24:51
阅读次数:
172
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
get(key) - Get the value (will always be positive) of the key i...
分类:
系统相关 时间:
2015-02-17 09:13:46
阅读次数:
191
Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->...
分类:
其他好文 时间:
2015-02-17 00:42:49
阅读次数:
126
A. Chewbaсca and Number题意:Inverting digit t means replacing it with digit 9?-?t. Print the minimum possible positive number that Chewbacca can obtain ...
分类:
其他好文 时间:
2015-02-16 01:41:05
阅读次数:
224
uva 10603 Fill
There are three jugs with a volume of a, b and c liters. (a, b, and c are positive integers not greater than 200). The first and the second jug are initially empty, while the ...
分类:
其他好文 时间:
2015-02-14 17:33:02
阅读次数:
192
A Simple Task
就像这道题的题目一样,真的是一个简单的题目,题意就是一句话:给一个数N求符合公式N = O * 2P的 O 和 P。
下面我们就一起看一下题吧。
Description
Given a positive integer n and the odd integer o and the nonnegative integer p such t...
分类:
其他好文 时间:
2015-02-13 21:15:07
阅读次数:
380
Time Limit: 5000 MS Memory Limit: 65536 K
Description
A positive integer is said to be squarefree if it is divisible by no perfect square larger than 1.
For example, the first few squarefree ...
分类:
其他好文 时间:
2015-02-13 13:25:35
阅读次数:
184
Given string A representative a positive integer which has N digits, remove any k digits of the number, the remaining digits are arranged according to the original order to become a new positive integer....
分类:
其他好文 时间:
2015-02-13 11:39:14
阅读次数:
119
G -Find The MultipleTime Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 1426DescriptionGiven a positive integer ...
分类:
其他好文 时间:
2015-02-12 17:42:45
阅读次数:
129
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescription The digital root of a positive integer is found by summing the digits....
分类:
其他好文 时间:
2015-02-12 12:02:51
阅读次数:
82