- 博客(25)
- 收藏
- 关注
翻译 2.17翻译
OpenJudge - 19:Duplicate Number 19:Duplicate Number 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 Given a sequence of N numbers, find a number A that the count of A in the sequence is at least two. 给出N个数,找出一个数A,A在序列中至少出现两次。 输入 First line: one..
2022-02-17 19:51:44
204
1
翻译 2.16翻译
OpenJudge - 18:Coins 18:Coins 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 There are N kinds of coins. Each kind of coins has a value V and a weight W. Tony wants to go traveling. Unfortunately, he can only carry coins of which the total weight..
2022-02-16 21:38:00
200
翻译 2.15翻译
OpenJudge - 17:The Largest City Nearby 17:The Largest City Nearby 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 There are N cities, the length of edges between cities is given. Please find the city with the largest index id satisfying that there..
2022-02-15 21:22:00
221
翻译 2.14翻译
OpenJudge - 16:Maximum Sum Not Exceeding K 16:Maximum Sum Not Exceeding K 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 Given N numbers, find two different numbers from them such that the sum of the two numbers is maximum but not exceeding K. 给..
2022-02-14 20:45:28
230
翻译 2.13翻译
OpenJudge - 15:Sum is K 15:Sum is K 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 Given a sequence of N numbers. Find different numbers A and B in the sequence so that the sum of A and B equals to K. 给出N个数。在序列中找出不同的A和B,使得A加B的和等于K。 输入 First line...
2022-02-13 20:41:34
120
翻译 2.12翻译
OpenJudge - 14:Children's Apples 14:Children's Apples 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 There are N children. Each child has a positive number, and the numbers are different from each other. Given the sum of all numbers of children. ..
2022-02-12 19:51:26
132
翻译 2.11翻译
OpenJudge - 13:Same Remainder 13:Same Remainder 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 Given A and B. Find the smallest X that X is greater than 1 and A modulo X equals to B modulo X. 给定A和B。找到最小的比1大的X,使得A对X取模等于B对X取模。 输入 Two positive in..
2022-02-11 20:41:40
123
翻译 2.10翻译
OpenJudge - 12:Maximum Product of Sequence 12:Maximum Product of Sequence 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 Find a sequence of M positive numbers with the maximum product, while the sum of them is N. 寻找M个和为N的正整数,使他们的乘积最大。 输入 Two p..
2022-02-10 21:33:43
206
翻译 2.9翻译
OpenJudge - 11:Goldbach Conjecture 11:Goldbach Conjecture 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 Given the sum of prime A and prime B, find A and B. 给定素数A和素数B的和,求A和B。 输入 One positive integer indicating the sum (<= 10000). 一个不超过1000..
2022-02-09 20:02:59
138
翻译 2.8翻译
OpenJudge - 10:Chickens and Rabbits 10:Chickens and Rabbits 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 In the yard were C chickens and R rabbits. Each chicken has one head and two legs. Each rabbit has one head and four legs. There are total ..
2022-02-08 20:19:44
168
翻译 2.7翻译
OpenJudge - 09:Least Common Multiple 09:Least Common Multiple 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 Given A and B. Find the least positive M which is a common multiple of both A and B. 给定A和B。找到A和B的最小公倍数M。 输入 Two positive integers A an..
2022-02-07 19:44:33
103
翻译 2.6翻译
OpenJudge - 08:Greatest Common Divisor 08:Greatest Common Divisor 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 Given A and B. Find the greatest D which is a common divisor of both A and B. 给定A和B。找到A和B的最大公约数D。 输入 Two positive integers A and B..
2022-02-06 20:10:03
134
翻译 2.5翻译
OpenJudge - 07:Shortest Path 07:Shortest Path 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 There is a graph with N nodes. Given the length of each edge between the nodes. Find the shortest path from S to E. 有一个图有着N个节点。给定节点之间的所有边的长度。找到从S到E的最短路径..
2022-02-05 19:49:32
185
翻译 1.28翻译
OpenJudge - 06:N Queens 06:N Queens 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 Determine the columns of N queens should be place on. Columns should be greater than 1 and less than N. Columns should be all different. Each column plus its index..
2022-01-28 20:04:49
213
翻译 1.27翻译
OpenJudge - 05:Grocery Problem 05:Grocery Problem 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 Find the prices of 4 items so that the sum of prices is 711 and the product of prices is 711000000. The prices of items are in ascending order. 求四个物..
2022-01-27 21:22:45
115
翻译 1.26翻译
OpenJudge - 04:0/1 Knapsack 04:0/1 Knapsack 查看 提交 统计 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 Given the weights and values of N items, put a subset of items into a knapsack of capacity C to get the maximum total value in the knapsack. The total weig..
2022-01-26 20:23:22
135
翻译 1.25翻译
OpenJudge - 03:Magic Sequencehttp://noi.openjudge.cn/english/03/ 03:Magic Sequence 总时间限制: 1000ms 内存限制: 65536kB 描述 Find a sequence of N numbers. Each number is equal to the count of (its index minus 1) in the sequence. 寻找一个N个数的数列。每个数等于数列中其下标减一的个数。
2022-01-25 20:56:57
128
翻译 1.24翻译
OpenJudge - 02:Cake Bakinghttp://noi.openjudge.cn/english/02/ 02:Cake Baking 总时间限制: 1000ms 内存限制: 65536kB 描述 A banana cake takes 250 flour, 2 bananas, 75 sugar and 100 butter, and a chocolate cake takes 200 flour, 75 cocoa, 150 sugar and 150 butte.
2022-01-24 21:49:43
272
翻译 1.23翻译
OpenJudge - 01:Map Coloring 01:Map Coloring 总时间限制: 1000ms 内存限制: 65536kB 描述 Given edges of a graph with N nodes. There are three colors that can be used for coloring nodes. Determine the color of each node so that the colors of nodes of each edge s
2022-01-23 21:06:01
158
翻译 1.22翻译
OpenJudge - 40:Distinct 40:Distinct 总时间限制: 1000ms 内存限制: 65536kB 描述 Select some of N values. The selected values are all different and the number of the selected values is maximum. 从N个值中选择一些值。这些被选择的值都不相同,并且选择的值的数量最多。 输入 First line: one positive
2022-01-22 20:57:29
259
翻译 1.21翻译
OpenJudge - 39:Apears an Odd Number of Times 39:Apears an Odd Number of Times 总时间限制: 1000ms 内存限制: 65536kB 描述 Given a sequence of N numbers. Find X that the number of X's in the sequence is odd. 给定一个N个数的序列,找出X,X在序列中出现次数是奇数。 输入 First line: one po
2022-01-21 19:50:16
143
翻译 1.20翻译
OpenJudge - 38:Minimum Prime 38:Minimum Prime 总时间限制: 1000ms 内存限制: 65536kB 描述 Find a minimum prime which is greater than N. 寻找一个最小的比N大的素数。 输入 One positive integers N (N <= 100000). 一个不超过100000的正整数。 输出 One integer. 一个整数。 样例输入 26 样例输出
2022-01-20 20:11:48
117
翻译 1.19翻译
OpenJudge - 37:Primehttp://noi.openjudge.cn/english/37/ 37:Prime 总时间限制: 1000ms 内存限制: 65536kB 描述 Is the given N a prime number? 给出的N是素数吗? 输入 One positive integers N (N <= 100000). 一个不超过100000的正整数。 输出 One integer, 1 if N is a prime, or
2022-01-19 19:44:40
109
翻译 1.18翻译
描述 Given a sequence S of N numbers. How many pairs of indexes I and J are there satisfying that I is less than J and S[i] is greater than S[J]? 给定有N个数的序列S,有多少对下标I和J,满足I小于J并且S[i]大于S[J]? 输入 First line: one positive integers N (N <= 100). 第一行:一个正整数N(N
2022-01-18 18:10:21
141
翻译 英语翻译作业
OpenJudge - 26:The Nearest Number 总时间限制: 1000ms 内存限制: 65536kB 描述 Given a sequence of N number and K. Find the nearest number X in the sequence that the absolute value of (X minus K) is minimum. 给出N个数和数字K。在这N个数中找到一个数X,使得(X-K)的绝对值最小。 输入 First line
2022-01-17 18:55:39
93
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅