Problem Description The company "21st Century Fruits" has specialized in creating new sorts of fruits by transferring genes from one fruit into the ge ...
分类:
其他好文 时间:
2018-08-22 00:14:44
阅读次数:
102
Description You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you ...
分类:
其他好文 时间:
2018-08-21 00:27:02
阅读次数:
197
Problem Description 有一台机器,并且给你这台机器的工作表,工作表上有n个任务,机器在ti时间执行第i个任务,1秒即可完成1个任务。有m个询问,每个询问有一个数字q,表示如果在q时间有一个工作表之外的任务请求,请计算何时这个任务才能被执行。机器总是按照工作表执行,当机器空闲时立即执 ...
分类:
其他好文 时间:
2018-08-20 23:51:36
阅读次数:
338
Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line ...
分类:
其他好文 时间:
2018-08-15 19:37:08
阅读次数:
165
Problem Description Astronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let ...
分类:
其他好文 时间:
2018-08-14 14:22:42
阅读次数:
163
Description Every morning when they are milked, the Farmer John's cows form a rectangular grid that is R (1 <= R <= 10,000) rows by C (1 <= C <= 75) c ...
分类:
其他好文 时间:
2018-08-12 14:12:31
阅读次数:
221
Problem Description In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several ...
分类:
其他好文 时间:
2018-08-08 10:43:18
阅读次数:
190
Description Bessie hears that an extraordinary meteor shower is coming; reports say that these meteors will crash into earth and destroy anything they ...
分类:
其他好文 时间:
2018-08-07 17:31:18
阅读次数:
203
Problem Description Sample Input 2 2 Sample Output 2 Hint 1. For N = 2, S(1) = S(2) = 1. 2. The input file consists of multiple test cases. 解题思路: AC代码 ...
分类:
其他好文 时间:
2018-08-06 18:28:04
阅读次数:
135
Description The greatest common divisor GCD(a,b) of two positive integers a and b,sometimes written (a,b),is the largest divisor common to a and b,For ...
分类:
其他好文 时间:
2018-08-05 13:01:25
阅读次数:
130