摘要:
Problem Description The company "21st Century Fruits" has specialized in creating new sorts of fruits by transferring genes from one fruit into the ge 阅读全文
摘要:
Description You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you 阅读全文
摘要:
Problem Description 有一台机器,并且给你这台机器的工作表,工作表上有n个任务,机器在ti时间执行第i个任务,1秒即可完成1个任务。有m个询问,每个询问有一个数字q,表示如果在q时间有一个工作表之外的任务请求,请计算何时这个任务才能被执行。机器总是按照工作表执行,当机器空闲时立即执 阅读全文
摘要:
J-plan(贪心) 题目描述 There are n students going to travel. And hotel has two types room:double room and triple room. The price of a double room is p2 and t 阅读全文
摘要:
Description The branch of mathematics called number theory is about properties of numbers. One of the areas that has captured the interest of number t 阅读全文
摘要:
Problem Description A positive proper divisor is a positive divisor of a number n, excluding n itself. For example, 1, 2, and 3 are positive proper di 阅读全文
摘要:
Description Write a program which reads an integer n and prints the number of prime numbers which are less than or equal to n. A prime number is a nat 阅读全文