登录
|
注册
公司
标签
文章
搜索
POJ
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
0
0
979
After hearing about the epidemic of obesity in the USA, Farmer John wants his cows to get more exercise, so he has committed to create a bovine marathon for his cows to run. The marathon route will include a pair of farms and a path comprised of a sequence of roads between them. Since FJ wants the cows to get as much exercise as possible he wants to find the two farms on his map that are the farthest apart from each other (distance being measured in terms of total length of road on the path bet ...
阅读题目
POJ
问答题
经典指数
0
0
974
You must have heard of the literature "Alice's Adventures in Wonderland"! The 3D film "Alice in Wonderland" published by Disney Company becomes the most popular film in 2010! Today, Alice starts her new adventure in Wonderland again! In Wonderland, there are n cities, numbered from 1 to n. The capital is city 1. Cities are connected by bi-directional roads. The road system is constructed so that from every city, there is exactly one way to reach any other. Alice hopes th ...
阅读题目
POJ
问答题
经典指数
0
0
966
A number of schools are connected to a computer network. Agreements have been developed among those schools: each school maintains a list of schools to which it distributes software (the “receiving schools”). Note that if B is in the distribution list of school A, then A does not necessarily appear in the list of school B You are to write a program that computes the minimal number of schools that must receive a copy of the new software in order for the software to reach all schools in the netwo ...
阅读题目
POJ
问答题
经典指数
0
0
965
The cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the next N (1 Yucky Yogurt owns a warehouse that can store unused yogurt at a constant fee of S (1 Yucky wants to find a way to make weekly deliveries of输入描述 * Line 1: Two space-separated integers, N and S. * Lines 2..N+1: Line i+1 contains two space-separated integers: C_i and Y_i.输出描述 * Line 1: Line 1 contains a single integer: the minimum total cost to satisfy the yogurt schedule. Note that the total mi ...
阅读题目
POJ
问答题
经典指数
0
0
962
Tom has received a lot of tasks from his boss, which are boring to deal with by hand. Fortunately,Tom got a special machine - Advanced Computing Machine (ACM) to help him. ACM works in a really special way. The machine can finish one task in a short time, after it's finishing one task, it should smoothly move to the next one, otherwise the machine will stop automatically. You must start it up again to make it continue working. Of course, the machine cannot move arbitrarily from one task to anot ...
阅读题目
POJ
问答题
经典指数
0
0
962
In a few months the European Currency Union will become a reality. However, to join the club, the Maastricht criteria must be fulfilled, and this is not a trivial task for the countries (maybe except for Luxembourg). To enforce that Germany will fulfill the criteria, our government has so many wonderful options (raise taxes, sell stocks, revalue the gold reserves,...) that it is really hard to choose what to do. Therefore the German government requires a program for the following task: Two ...
阅读题目
POJ
问答题
经典指数
0
0
959
As a reward for record milk production, Farmer John has decided to start paying Bessie the cow a small weekly allowance. FJ has a set of coins i输入描述 * Line 1: Two space-separated integers: N and C * Lines 2..N+1: Each line corresponds to a denomination of coin and contains two integers: the valu输出描述 * Line 1: A single integer that is the number of weeks Farmer John can pay Bessie at least C allowance输入例子 3 6 10 1 1 100 5 120 输出例子 111 Hint INPUT DETAILS: FJ would like to pay Bessie 6 cents p ...
阅读题目
POJ
问答题
经典指数
0
0
958
The Contortion Brothers are a famous set of circus clowns, known worldwide for their incredible ability to cram an unlimited number of themselves into even the smallest vehicle. During the off-season, the brothers like to get together for an Annual Contortionists Meeting at a local park. However, the brothers are not only tight with regard to cramped quarters, but with money as well, so they try to find the way to get everyone to the party which minimizes the number of miles put on everyone's ca ...
阅读题目
POJ
问答题
经典指数
0
0
958
n points are given on the Cartesian plane. Now you have to use some rectangles whose sides are parallel to the axes to cover them. Every point must be covered. And a point can be covered by several rectangles. Each rectangle should cover at least two points including those that fall on its border. Rectangles should have integral dimensions. Degenerate cases (rectangles with zero area) are not allowed. How will you choose the rectangles so as to minimize the total area of them? 输入描述 ...
阅读题目
POJ
问答题
经典指数
0
0
953
Ratish is a young man who always dreams of being a hero. One day his friend Luffy was caught by Pirate Arlong. Ratish set off at once to Arlong's island. When he got there, he found the secret place where his friend was kept, but he could not go straight in. He saw a large door in front of him and two locks in the door. Beside the large door, he found a strange rock, on which there were some odd words. The sentences were encrypted. But that was easy for Ratish, an amateur cryptographer. After de ...
阅读题目
POJ
问答题
经典指数
<<
<
5
6
7
8
9
10
>
>>
488
题目数
1
贡献者
9
答案数
扫描后移动端查看
我也分享一个题目
同类标签
内容运营
用户运营
操作系统
C/C++
网络基础
C++工程师
编译和体系结构
数据库
编程基础
java
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录