2012年8月3日
摘要: Legal or NotProblem DescriptionACM-DIY is a large QQ group where many excellent acmers get together. It is so harmonious that just like a big family. Every day,many "holy cows" like HH, hh, AC, ZT, lcc, BF, Qinz and so on chat on-line to exchange their ideas. When someone has questions, ma 阅读全文
posted @ 2012-08-03 16:09 Zee、 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 畅通工程续Time Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13088Accepted Submission(s): 4448Problem Description某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行走的距离要短很多。这让行人很困扰。现在,已知起点和终点,请你计算出要从起点到终点,最短需要行走多少距离。Input本题目包含多 阅读全文
posted @ 2012-08-03 15:28 Zee、 阅读(200) 评论(0) 推荐(0) 编辑
  2012年8月2日
摘要: find the safest roadTime Limit : 10000/5000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 4Accepted Submission(s) : 3Font:Times New Roman|Verdana|GeorgiaFont Size:←→Problem DescriptionXX星球有很多城市,每个城市之间有一条或多条飞行通道,但是并不是所有的路都是很安全的,每一条路有一个安全系数s,s是在 0 和 1 间的实数(包括0,1),一条从u 到 v 阅读全文
posted @ 2012-08-02 10:31 Zee、 阅读(246) 评论(0) 推荐(0) 编辑
摘要: Til the Cows Come HomeTime Limit:1000MSMemory Limit:65536KTotal Submissions:21209Accepted:7062DescriptionBessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning milking. Bessie needs her beauty sleep, so she wants to 阅读全文
posted @ 2012-08-02 09:23 Zee、 阅读(396) 评论(0) 推荐(0) 编辑
  2012年8月1日
摘要: 昂贵的聘礼Time Limit:1000MSMemory Limit:10000KTotal Submissions:26963Accepted:7521Description年轻的探险家来到了一个印第安部落里。在那里他和酋长的女儿相爱了,于是便向酋长去求亲。酋长要他用10000个金币作为聘礼才答应把女儿嫁给他。探险家拿不出这么多金币,便请求酋长降低要求。酋长说:"嗯,如果你能够替我弄到大祭司的皮袄,我可以只要8000金币。如果你能够弄来他的水晶球,那么只要5000金币就行了。"探险家就跑到大祭司那里,向他要求皮袄或水晶球,大祭司要他用金币来换,或者替他弄来其他的东西,他可 阅读全文
posted @ 2012-08-01 17:01 Zee、 阅读(438) 评论(0) 推荐(0) 编辑
摘要: SudokuTime Limit:2000MSMemory Limit:65536KTotal Submissions:10299Accepted:5141Special JudgeDescriptionSudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 smaller squares 3x3 as shown on the Figure. In some of the cells are written decimal digits from 1 to 9. The ot 阅读全文
posted @ 2012-08-01 10:03 Zee、 阅读(318) 评论(0) 推荐(0) 编辑
  2012年7月30日
摘要: Prime PathTime Limit:1000MSMemory Limit:65536KTotal Submissions:7550Accepted:4281DescriptionThe ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room numbers on their offices.— It is a matter of security to 阅读全文
posted @ 2012-07-30 15:43 Zee、 阅读(254) 评论(0) 推荐(0) 编辑
摘要: Catch That CowTime Limit:2000MSMemory Limit:65536KTotal Submissions:30928Accepted:9537DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a pointN(0 ≤N≤ 100,000) on a number line and the cow is at a pointK(0 ≤K≤ 100,000) on the 阅读全文
posted @ 2012-07-30 10:05 Zee、 阅读(171) 评论(0) 推荐(0) 编辑
  2012年7月28日
摘要: Children of the Candy CornTime Limit:1000MSMemory Limit:65536KTotal Submissions:6630Accepted:2891DescriptionThe cornfield maze is a popular Halloween treat. Visitors are shown the entrance and must wander through the maze facing zombies, chainsaw-wielding psychopaths, hippies, and other terrors on t 阅读全文
posted @ 2012-07-28 16:13 Zee、 阅读(709) 评论(0) 推荐(0) 编辑
  2012年7月27日
摘要: Dungeon MasterTime Limit:1000MSMemory Limit:65536KTotal Submissions:11753Accepted:4560DescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one unit north, south, e 阅读全文
posted @ 2012-07-27 15:39 Zee、 阅读(175) 评论(0) 推荐(0) 编辑