摘要: DescriptionThe French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter'e'. He was a member of the Oulipo group. ... 阅读全文
posted @ 2015-08-24 10:49 pb2016 阅读(166) 评论(0) 推荐(1) 编辑
摘要: Problem DescriptionVictor has a machine. When the machine starts up, it will pop out a ball immediately. After that, the machine will pop out a ball e... 阅读全文
posted @ 2015-08-22 22:10 pb2016 阅读(256) 评论(0) 推荐(1) 编辑
摘要: Problem DescriptionThe Czech Technical University is rather old — you already know that it celebrates 300 years of its existence in 2007. Some of the ... 阅读全文
posted @ 2015-08-22 14:28 pb2016 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Problem Description经过锦囊相助,海东集团终于度过了危机,从此,HDU的发展就一直顺风顺水,到了2050年,集团已经相当规模了,据说进入了钱江肉丝经济开发区500强。这时候,XHD夫妇也退居了二线,并在风景秀美的诸暨市浬浦镇陶姚村买了个房子,开始安度晚年了。 这样住了一段时间,徐总... 阅读全文
posted @ 2015-08-21 22:03 pb2016 阅读(196) 评论(0) 推荐(1) 编辑
摘要: Problem Description 在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员把上百件的衣服从商店运回到赛场的时候,却是非常累的!所以现在他们想要寻找最短的从商店到赛场的路线,你可以帮助他们吗? Input 输入包括多组数据。每组数据第一行是两个 阅读全文
posted @ 2015-08-21 20:30 pb2016 阅读(365) 评论(0) 推荐(2) 编辑
摘要: Problem Description某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行走的距离要短很多。这让行人很困扰。现在,已知起点和终点,请你计算出要从起点到终点,最短需要行走多少距离... 阅读全文
posted @ 2015-08-21 20:05 pb2016 阅读(397) 评论(0) 推荐(1) 编辑
摘要: DescriptionThe Game “Man Down 100 floors” is an famous and interesting game.You can enjoy the game fromhttp://hi.baidu.com/abcdxyzk/blog/item/16398781... 阅读全文
posted @ 2015-08-21 14:48 pb2016 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionConsider a positive integer X,and let S be the sum of all positive integer divisors of 2004^X. Your job is to determine S modulo 29... 阅读全文
posted @ 2015-08-20 23:47 pb2016 阅读(299) 评论(0) 推荐(1) 编辑
摘要: Problem DescriptionMr. Hdu is interested in Greatest Common Divisor (GCD). He wants to find more and more interesting things about GCD. Today He comes... 阅读全文
posted @ 2015-08-19 19:45 pb2016 阅读(173) 评论(0) 推荐(1) 编辑
摘要: Problem DescriptionA sequenceb1,b2,⋯,bnare called(d1,d2)-arithmetic sequence if and only if there existi(1≤i≤n)such that for everyj(1≤j 2 #include 3 #... 阅读全文
posted @ 2015-08-18 16:52 pb2016 阅读(807) 评论(0) 推荐(2) 编辑