登录
|
注册
公司
标签
文章
搜索
POJ
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
0
0
904
The TTT Taxi Service in Tehran is required to deliver some magazines to N locations in Tehran. The locations are labeled L1 to LN. TTT assigns 3 cars for this service. At time 0, all the 3 cars and magazines are located at L1. There are plenty of magazines available in L1 and the cars can take as many as they want. Copies of the magazine should be delivered to all locations, observing the following rules: For all i = 2 .. N, magazines should be delivered at Li only after magazines a ...
阅读题目
POJ
问答题
经典指数
0
0
904
Linda is a teacher in ACM kindergarten. She is in charge of n kids. Because the dinning hall is a little bit far away from the classroom, those n kids have to walk in line to the dinning hall every day. When they are walking in line, if and only if two kids can see each other, they will talk to each other. Two kids can see each other if and only if all kids between them are shorter then both of them, or there are no kids between them. Kids do not only look forward, they may look back and talk to ...
阅读题目
POJ
问答题
经典指数
0
0
899
A palindrome is a string of symbols that is equal to itself when reversed. Given an input string, not necessarily a palindrome, compute the number of swaps necessary to transform the string into a palindrome. By swap we mean reversing the order of two adjacent symbols. For example, the string "mamad" may be transformed into the palindrome "madam" with 3 swaps: swap "ad" to yield "mamda" swap "md" to yield "madma" swap "ma" to yield "madam" 输入描述 The first line of input gives n, the number ...
阅读题目
POJ
问答题
经典指数
0
0
898
As the owner of a computer forensics company, you have just been given the following note by a new client: I, Albert Charles Montgomery, have just discovered the most amazing cypher for encrypting messages. Let me tell you about it. To begin, you will need to decide on a set of symbols, call it S, perhaps with the letters RATE. The size of this set must be a power of 2 and the order of the symbols in S is important. You must note that R is at position 0, A at 1, T at 2, and E at 3. You will ...
阅读题目
POJ
问答题
经典指数
0
0
894
The northern part of the Pyramid contains a very large and complicated labyrinth. The labyrinth is divided into square blocks, each of them either filled by rock, or free. There is also a little hook on the floor in the center of every free block. The ACM have found that two of the hooks must be connected by a rope that runs through the hooks in every block on the path between the connected ones. When the rope is fastened, a secret door opens. The problem is that we do not know which hooks to co ...
阅读题目
POJ
问答题
经典指数
0
0
888
Tester Program For this contest, we first designed the following problem (note that you do not have to solve it!): Another Wall in the Maze In ACM/ICPC contests, you'll often see questions such as "find the shortest path out of this maze." Let's turn this on its head and ask "given a path, find a maze for which the given path is the shortest path." Our paths will run vertically and horizontally between the regularly spaced points of a rectangular grid. The problem is to compute a set of uni ...
阅读题目
POJ
问答题
经典指数
0
0
886
Moo U's cafeteria has run out of hay and so must order pizzas for the C (1 Pizza Farm is willing to make a pizza for each calf, but, due to the size of the order, has three constraints on the order: * Although Pizza Farm has long list of T (1 * No topping on a pizza can be duplicated (a pizza cannot have onions and onions, for example). * No two pizzas in the order can have the same set of toppings.For example, if pizza 1 has onions, green peppers, pineapples, and wheat grass, then ...
阅读题目
POJ
问答题
经典指数
0
0
886
N (1 A*(H-h) + B*(W-w) where h and w are the minimum height and weight values over all calves on the team, and A, B and C are supplied positive integral constants less than 10,000. Compute the maximum number of calves on the team.输入描述 * Line 1: A single integer, N * Line 2: Three space-separated integers, A, B and C * Lines 3..N+2: Two space-separated integers: respectively the height and weight of a calf 输出描述 * Line 1: One integer, the maximum number of calves on the team. 输入例子 8 1 2 ...
阅读题目
POJ
问答题
经典指数
0
0
885
Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of planning and robotics (STRIPS) used a block world in which a robot arm performed tasks involving the manipulation of blocks. In this problem you will model a simple block world under certain rules and constraints. Rather than determine how to achieve a specified state, you will "program" a robotic arm to respond to a limited set of commands. The problem is ...
阅读题目
POJ
问答题
经典指数
0
0
882
The most exciting space discovery occurred at the end of the 20th century. In 1999, scientists traced down an ant-like creature in the planet Y1999 and called it M11. It has only one eye on the left side of its head and just three feet all on the right side of its body and suffers from three walking limitations: It can not turn right due to its special body structure. It leaves a red path while walking. It hates to pass over a previously red colored path, and never does that. The pictu ...
阅读题目
POJ
问答题
经典指数
<<
<
5
6
7
8
9
10
>
>>
497
题目数
1
贡献者
9
答案数
扫描后移动端查看
我也分享一个题目
同类标签
内容运营
用户运营
操作系统
C/C++
网络基础
C++工程师
编译和体系结构
数据库
编程基础
java
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录