上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: 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 vi... 阅读全文
posted @ 2015-07-26 17:54 搁浅の记忆 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Description :BackgroundHugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man who t... 阅读全文
posted @ 2015-07-26 17:42 搁浅の记忆 阅读(163) 评论(0) 推荐(0) 编辑
摘要: DescriptionStockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stockb... 阅读全文
posted @ 2015-07-25 18:01 搁浅の记忆 阅读(141) 评论(0) 推荐(0) 编辑
摘要: DescriptionGiven a connected undirected graph, tell if its minimum spanning tree is unique.Definition 1 (Spanning Tree): Consider a connected, undirec... 阅读全文
posted @ 2015-07-25 16:38 搁浅の记忆 阅读(149) 评论(0) 推荐(0) 编辑
摘要: DescriptionFarmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to all farms in the area. H... 阅读全文
posted @ 2015-07-25 14:39 搁浅の记忆 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionThe doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and... 阅读全文
posted @ 2015-07-23 18:25 搁浅の记忆 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Description动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。有人用两种说法对这N个动物所构成的食物链关系进行描述:第一种说法是"1 X Y",表示X和Y... 阅读全文
posted @ 2015-07-22 13:50 搁浅の记忆 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Problem Description某省调查乡村交通状况,得到的统计表中列出了任意两村庄间的距离。省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能间接通过公路可达即可),并要求铺设的公路总长度为最小。请计算最小的公路总长度。Input测试输入包含若... 阅读全文
posted @ 2015-05-01 00:01 搁浅の记忆 阅读(169) 评论(1) 推荐(0) 编辑
摘要: 题目描述我们把十进制整数依次写成一个字符串,123456789101112…请问第n位数码是多少?输入第一行是一个整数T(T≤10000),表示样例的个数。 每行输入一个整数n(1≤n≤788888899)。输出每行输出一个样例的结果。样例输入21788888899样例输出11#include#in... 阅读全文
posted @ 2015-04-26 16:01 搁浅の记忆 阅读(346) 评论(0) 推荐(1) 编辑
摘要: Problem DescriptionThe "Harry Potter and the Goblet of Fire" will be on show in the next few days. As a crazy fan of Harry Potter, you will go to the ... 阅读全文
posted @ 2015-04-24 13:00 搁浅の记忆 阅读(162) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 下一页