上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页
摘要: Problem DescriptionKeeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has installed on each cow an electronic ID tag that the system will read as the cows pass by a scanner. Each ID tag's contents are currently a single string with length 阅读全文
posted @ 2013-09-19 10:48 persistent codeants 阅读(238) 评论(0) 推荐(0)
摘要: Problem DescriptionSeiji Hayashi had been a professor of the Nisshinkan Samurai School in the domain of Aizu for a long time in the 18th century. In order to reward him for his meritorious career in education, Katanobu Matsudaira, the lord of the domain of Aizu, had decided to grant him a rectangula 阅读全文
posted @ 2013-09-17 17:18 persistent codeants 阅读(201) 评论(0) 推荐(0)
摘要: Problem DescriptionIn the new ACM-ICPC Regional Contest, a special monitoring and submitting system will be set up, and students will be able to compete at their own universities. However there’s one problem. Due to the high cost of the new judging system, the organizing committee can only afford to 阅读全文
posted @ 2013-09-12 21:46 persistent codeants 阅读(231) 评论(0) 推荐(0)
摘要: Problem DescriptionN cities named with numbers 1 ... N are connected with one-way roads. Each road has two parameters associated with it : the road length and the toll that needs to be paid for the road (expressed in the number of coins). Bob and Alice used to live in the city 1. After noticing that 阅读全文
posted @ 2013-09-12 19:05 persistent codeants 阅读(247) 评论(0) 推荐(0)
摘要: Problem DescriptionSquares and rectangles fascinated the famous Dutch painter Piet Mondriaan. One night, after producing the drawings in his 'toilet series' (where he had to use his toilet paper to draw on, for all of his paper was filled with squares and rectangles), he dreamt of filling a 阅读全文
posted @ 2013-09-10 10:43 persistent codeants 阅读(255) 评论(0) 推荐(0)
摘要: Problem DescriptionFarmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wants to grow some yummy corn for the cows on a number of squares. Regrettably, some of the squares are infertile and can't be planted. Canny FJ knows that t 阅读全文
posted @ 2013-09-07 22:09 persistent codeants 阅读(262) 评论(0) 推荐(0)
摘要: 1056. Computer NetTime limit: 2.0 second Memory limit: 64 MBBackgroundComputer net is created by consecutive computer plug-up to one that has already been connected to the net. Each new computer gets an ordinal number, but the protocol contains the number of its parent computer in the net. Thus, pro 阅读全文
posted @ 2013-09-07 20:22 persistent codeants 阅读(276) 评论(0) 推荐(0)
摘要: 1182. Team Them Up!Time limit: 1.0 second Memory limit: 64 MBYour task is to divide a number of persons into two teams, in such a way, that:everyone belongs to one of the teams;every team has at least one member;every person in the team knows every other person in his team;teams are as close in thei 阅读全文
posted @ 2013-09-07 08:55 persistent codeants 阅读(383) 评论(0) 推荐(0)
摘要: 1416. ConfidentialTime limit: 2.0 second Memory limit: 64 MBZaphod Beeblebrox — President of the Imperial Galactic Government. And by chance he is an owner of enterprises that trade in secondhand pens. This is a complicated highly protable and highly competitive business. If you want to stay a leade 阅读全文
posted @ 2013-09-03 11:29 persistent codeants 阅读(228) 评论(0) 推荐(0)
摘要: DescriptionYou are to write a program that has to generate all possible words from a given set of letters. Example: Given the word "abc", your program should - by exploring all different combination of the three letters - output the words "abc", "acb", "bac", 阅读全文
posted @ 2013-09-02 19:09 persistent codeants 阅读(213) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页