02 2018 档案

摘要:Description Farmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needs N (1 ≤ N ≤ 20,00 阅读全文
posted @ 2018-02-27 17:31 Styx-ferryman 阅读(184) 评论(0) 推荐(0) 编辑
摘要:Description A square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angles. It is also a polygon such that rotat 阅读全文
posted @ 2018-02-25 21:50 Styx-ferryman 阅读(198) 评论(0) 推荐(0) 编辑
摘要:Description Consider equations having the following form: a1x13+ a2x23+ a3x33+ a4x43+ a5x53=0 The coefficients are given integers from the interval [- 阅读全文
posted @ 2018-02-25 19:06 Styx-ferryman 阅读(428) 评论(0) 推荐(0) 编辑
摘要:Description Organizing a programming contest is not an easy job. To avoid making the problems too difficult, the organizer usually expect the contest 阅读全文
posted @ 2018-02-25 08:03 Styx-ferryman 阅读(254) 评论(0) 推荐(0) 编辑
摘要:Description Farmer John's N cows (1 ≤ N ≤ 100,000) share many similarities. In fact, FJ has been able to narrow down the list of features shared by hi 阅读全文
posted @ 2018-02-24 11:36 Styx-ferryman 阅读(208) 评论(0) 推荐(0) 编辑
摘要:Description You may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your progra 阅读全文
posted @ 2018-02-23 21:05 Styx-ferryman 阅读(178) 评论(0) 推荐(0) 编辑
摘要:Description In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping 阅读全文
posted @ 2018-02-23 18:33 Styx-ferryman 阅读(165) 评论(0) 推荐(0) 编辑
摘要:Description The Genographic Project is a research partnership between IBM and The National Geographic Society that is analyzing DNA from hundreds of t 阅读全文
posted @ 2018-02-23 13:53 Styx-ferryman 阅读(213) 评论(0) 推荐(0) 编辑
摘要:Description The Borg is an immensely powerful race of enhanced humanoids from the delta quadrant of the galaxy. The Borg collective is the term used t 阅读全文
posted @ 2018-02-16 21:35 Styx-ferryman 阅读(183) 评论(0) 推荐(0) 编辑
摘要:The Global Aerial Research Centre has been allotted the task of building the fifth generation of mobile phone nets in Sweden. The most striking reason 阅读全文
posted @ 2018-02-13 22:50 Styx-ferryman 阅读(150) 评论(0) 推荐(0) 编辑
摘要:Description Bessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 <= N <= 500). The grid contains 阅读全文
posted @ 2018-02-11 23:10 Styx-ferryman 阅读(155) 评论(0) 推荐(0) 编辑
摘要:Description Stockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stock 阅读全文
posted @ 2018-02-11 11:13 Styx-ferryman 阅读(255) 评论(0) 推荐(0) 编辑
摘要:Description Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to vis 阅读全文
posted @ 2018-02-11 09:24 Styx-ferryman 阅读(227) 评论(0) 推荐(0) 编辑
摘要:Description 年轻的探险家来到了一个印第安部落里。在那里他和酋长的女儿相爱了,于是便向酋长去求亲。酋长要他用10000个金币作为聘礼才答应把女儿嫁给他。探险家拿不出这么多金币,便请求酋长降低要求。酋长说:"嗯,如果你能够替我弄到大祭司的皮袄,我可以只要8000金币。如果你能够弄来他的水晶球 阅读全文
posted @ 2018-02-10 20:16 Styx-ferryman 阅读(175) 评论(0) 推荐(0) 编辑
摘要:Description While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one- 阅读全文
posted @ 2018-02-10 18:16 Styx-ferryman 阅读(212) 评论(0) 推荐(0) 编辑
摘要:Description Several currency exchange points are working in our city. Let us suppose that each point specializes in two particular currencies and perf 阅读全文
posted @ 2018-02-10 11:21 Styx-ferryman 阅读(318) 评论(0) 推荐(0) 编辑
摘要:Description WFF 'N PROOF is a logic game played with dice. Each die has six faces representing some subset of the possible symbols K, A, N, C, E, p, q 阅读全文
posted @ 2018-02-08 22:43 Styx-ferryman 阅读(267) 评论(0) 推荐(0) 编辑
摘要:Accounting for Computer Machinists (ACM) has sufferred from the Y2K bug and lost some vital data for preparing annual report for MS Inc. All what they 阅读全文
posted @ 2018-02-08 18:10 Styx-ferryman 阅读(155) 评论(0) 推荐(0) 编辑
摘要:Current work in cryptography involves (among other things) large prime numbers and computing powers of numbers among these primes. Work in this area h 阅读全文
posted @ 2018-02-08 11:58 Styx-ferryman 阅读(246) 评论(0) 推荐(0) 编辑
摘要:Input The input consists of several test cases. The first line of each case contains two integers n (1<=n<=1000) and d, where n is the number of islan 阅读全文
posted @ 2018-02-08 08:07 Styx-ferryman 阅读(171) 评论(0) 推荐(0) 编辑
摘要:The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator. There are 16 handles on the ref 阅读全文
posted @ 2018-02-07 18:14 Styx-ferryman 阅读(315) 评论(0) 推荐(0) 编辑
摘要:Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other o 阅读全文
posted @ 2018-02-07 11:07 Styx-ferryman 阅读(272) 评论(0) 推荐(0) 编辑
摘要:Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀). Input输入数据的第一部分是一张单词表,每行一个单词,单词的长度不超过10,它们代表的是老师交给Ignatius统计的单词,一 阅读全文
posted @ 2018-02-01 23:16 Styx-ferryman 阅读(251) 评论(0) 推荐(0) 编辑