上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 29 下一页
摘要: DescriptionThe widget factory produces several different kinds of widgets. Each widget is carefully built by a skilled widgeteer. The time required to build a widget depends on its type: the simple widgets need only 3 days, but the most complex ones may need as many as 9 days.The factory is currentl 阅读全文
posted @ 2014-03-20 23:47 Oyking 阅读(218) 评论(3) 推荐(0) 编辑
摘要: Shirai Kurokois a Senior One student. Almost everyone inAcademy Cityhave super powers, andKurokois good at using it. Her ability is "Teleporting", which can make people to transfer in the eleven dimension, and it shows like moving instantly in general people's eyes.In fact, the theory 阅读全文
posted @ 2014-03-20 11:36 Oyking 阅读(322) 评论(0) 推荐(0) 编辑
摘要: Problem Description You may not hear about Nubulsa, an island country on the Pacific Ocean. Nubulsa is an undeveloped country and it is threatened by 阅读全文
posted @ 2014-03-16 23:15 Oyking 阅读(949) 评论(0) 推荐(0) 编辑
摘要: Given a 2-dimensional array of positive and negative integers, find the sub-rectangle with the largest sum. The sum of a rectangle is the sum of all the elements in that rectangle. In this problem the sub-rectangle with the largest sum is referred to as themaximal sub-rectangle. A sub-rectangle is a 阅读全文
posted @ 2014-03-06 23:49 Oyking 阅读(343) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionDuring a programming contest, teams cannot sit close to each other, because then a team might copy the solution of another team. You are given the locations of the teams and the minimum required Euclidian distance between two teams. You have to find the number of pairs of teams th 阅读全文
posted @ 2014-03-05 01:03 Oyking 阅读(237) 评论(0) 推荐(0) 编辑
摘要: Our chemical biologists have invented a new very useful form of life calledstripies(in fact, they were first called in Russian -polosatiki, but the scientists had to invent an English name to apply for an international patent). The stripies are transparent amorphous amebiform creatures that live in 阅读全文
posted @ 2014-03-02 20:48 Oyking 阅读(302) 评论(0) 推荐(0) 编辑
摘要: The blocks in the city of Fishburg are of square form.Navenues running south to north andMstreets running east to west bound them. A helicopter took off in the most southwestern crossroads and flew along the straight line to the most northeastern crossroads. How many blocks did it fly above?Note.A b 阅读全文
posted @ 2014-03-01 18:43 Oyking 阅读(347) 评论(0) 推荐(0) 编辑
摘要: A centipede has 40 left feet and 40 right feet. It keepsaleft slippers andbright slippers under its bed. Every morning the centipede puts on the slippers. It pokes its first left foot under the bed and puts on a random slipper, doing it in one second. If the slipper is left, the centipede passes to 阅读全文
posted @ 2014-02-23 23:11 Oyking 阅读(467) 评论(0) 推荐(0) 编辑
摘要: In the present world you frequently meet a lot of call numbers and they are going to be longer and longer. You need to remember such a kind of numbers. One method to do it in an easy way is to assign letters to digits as shown in the following picture:1 ij 2 abc 3 def4 gh 5 kl 6 mn7 prs ... 阅读全文
posted @ 2014-02-22 22:10 Oyking 阅读(1572) 评论(0) 推荐(0) 编辑
摘要: The problem is so easy, that the authors were lazy to write a statement for it!InputThe input stream contains aset ofinteger numbersAi(0≤Ai≤ 10^18). The numbers are separated byany number ofspaces and line breaks. Asize ofthe input stream does not exceed 256KB.OutputFor each numberAifrom the last on 阅读全文
posted @ 2014-02-22 20:47 Oyking 阅读(455) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 29 下一页