摘要: ♪(^∇^* 阅读全文
posted @ 2015-08-31 17:25 GadyPu 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=3641Pseudoprime numbersDescriptionFermat's theorem states that for any prime numberpand for any integera> 1,ap=a(modp). ... 阅读全文
posted @ 2015-08-31 17:18 GadyPu 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=3580SuperMemoDescriptionYour friend, Jackson is invited to a TV show called SuperMemo in which the participant is told t... 阅读全文
posted @ 2015-08-31 17:12 GadyPu 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=3281DiningDescriptionCows are such finicky eaters. Each cow has a preference for certain foods and drinks, and she will ... 阅读全文
posted @ 2015-08-31 17:06 GadyPu 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=3259WormholesDescriptionWhile exploring his many farms, Farmer John has discovered a number of amazing wormholes. A worm... 阅读全文
posted @ 2015-08-31 17:01 GadyPu 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=3080Blue JeansDescriptionThe Genographic Project is a research partnership between IBM and The National Geographic Socie... 阅读全文
posted @ 2015-08-31 16:56 GadyPu 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=3070FibonacciDescriptionIn the Fibonacci integer sequence,F0= 0,F1= 1, andFn=Fn− 1+Fn− 2forn≥ 2. For example, the first ... 阅读全文
posted @ 2015-08-31 16:49 GadyPu 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=2887Big StringDescriptionYou are given a string and supposed to do some string manipulations.InputThe first line of the ... 阅读全文
posted @ 2015-08-31 16:42 GadyPu 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=2631Roads in the NorthDescriptionBuilding and maintaining roads among communities in the far North is an expensive busin... 阅读全文
posted @ 2015-08-31 16:35 GadyPu 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=2485HighwaysDescriptionThe island nation of Flatopia is perfectly flat. Unfortunately, Flatopia has no public highways. ... 阅读全文
posted @ 2015-08-31 16:30 GadyPu 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=2377Bad CowtractorsDescriptionBessie has been hired to build a cheap internet network among Farmer John's N (2 #include#... 阅读全文
posted @ 2015-08-31 16:24 GadyPu 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=2367Genealogical treeDescriptionThe system of Martians' blood relations is confusing enough. Actually, Martians bud when... 阅读全文
posted @ 2015-08-31 16:16 GadyPu 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=2046GapDescriptionLet's play a card game called Gap.You have 28 cards labeled with two-digit numbers. The first digit (f... 阅读全文
posted @ 2015-08-31 16:00 GadyPu 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=1985Cow MarathonDescriptionAfter hearing about the epidemic of obesity in the USA, Farmer John wants his cows to get mor... 阅读全文
posted @ 2015-08-31 15:48 GadyPu 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=1840EqsDescriptionConsider equations having the following form:a1x13+ a2x23+ a3x33+ a4x43+ a5x53=0The coefficients are g... 阅读全文
posted @ 2015-08-31 15:42 GadyPu 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=1789Truck HistoryDescriptionAdvanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for veget... 阅读全文
posted @ 2015-08-31 15:36 GadyPu 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=1753Flip GameDescriptionFlip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 sq... 阅读全文
posted @ 2015-08-31 15:26 GadyPu 阅读(730) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=1679The Unique MSTDescriptionGiven a connected undirected graph, tell if its minimum spanning tree is unique.Definition ... 阅读全文
posted @ 2015-08-31 15:15 GadyPu 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=1383LabyrinthDescriptionThe northern part of the Pyramid contains a very large and complicated labyrinth. The labyrinth ... 阅读全文
posted @ 2015-08-31 15:04 GadyPu 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://poj.org/problem?id=1459Power NetworkDescriptionA power network consists of nodes (power stations, consumers and dispatchers) connected by p... 阅读全文
posted @ 2015-08-31 15:01 GadyPu 阅读(128) 评论(0) 推荐(0) 编辑