上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页
摘要: WallTime Limit:1000MSMemory Limit:10000KTotal Submissions:21731Accepted:7132DescriptionOnce upon a time there was a greedy King who ordered his chief Architect to build a wall around the King's castle. The King was so greedy, that he would not listen to his Architect's proposals to build a b 阅读全文
posted @ 2012-05-06 16:12 Stephen Li 阅读(279) 评论(0) 推荐(0) 编辑
摘要: A Round Peg in a Ground HoleTime Limit:1000MSMemory Limit:10000KTotal Submissions:3574Accepted:1051DescriptionThe DIY Furniture company specializes in assemble-it-yourself furniture kits. Typically, the pieces of wood are attached to one another using a wooden peg that fits into pre-cut holes in eac 阅读全文
posted @ 2012-05-04 20:28 Stephen Li 阅读(244) 评论(0) 推荐(0) 编辑
摘要: FishnetTime Limit:1000MSMemory Limit:10000KTotal Submissions:1302Accepted:824DescriptionA fisherman named Etadokah awoke in a very small island. He could see calm, beautiful and blue sea around the island. The previous night he had encountered a terrible storm and had reached this uninhabited island 阅读全文
posted @ 2012-05-03 21:04 Stephen Li 阅读(462) 评论(0) 推荐(0) 编辑
摘要: Building a Space StationTime Limit:1000MSMemory Limit:30000KTotal Submissions:2585Accepted:1362DescriptionYou are a member of the space station engineering team, and are assigned a task in the construction process of the station. You are expected to write a computer program to complete the task.The 阅读全文
posted @ 2012-05-03 19:01 Stephen Li 阅读(339) 评论(0) 推荐(0) 编辑
摘要: AreaTime Limit:1000MSMemory Limit:10000KTotal Submissions:3131Accepted:1486DescriptionBeing well known for its highly innovative products, Merck would definitely be a good target for industrial espionage. To protect its brand-new research and development facility the company has installed the latest 阅读全文
posted @ 2012-05-03 17:06 Stephen Li 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 序号互换时间限制:1000ms | 内存限制:65535KB难度:2描述Dr.Kong设计了一个聪明的机器人卡多,卡多会对电子表格中的单元格坐标快速计算出来。单元格的行坐标是由数字编号的数字序号,而列坐标使用字母序号。观察字母序号,发现第1列到第26列的字母序号分别为A,B,…,Z,接着,第27列序号为AA,第28列为AB,依此类推。若给Dr.Kong的机器人卡多一个数字序号(比如32),它能很快算出等价的字母序号(即AF),若给机器人一个字母序号(比如AA)),它也能很快算出等价的数字序号(27),你能不能与卡多比试比试,看谁能算得更快更准确。输入第一行: N 表示有多少组测试数据。接下来有 阅读全文
posted @ 2012-04-24 23:27 Stephen Li 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 最大报销额Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9752Accepted Submission(s): 2603Problem Description现有一笔经费可以报销一定额度的发票。允许报销的发票类型包括买图书(A类)、文具(B类)、差旅(C类),要求每张发票的总额不得超过1000元,每张发票上,单项物品的价值不得超过600元。现请你编写程序,在给出的一堆发票中找出可以报销的、不超过给定额度的最大报销额。Input测试输入包含若干 阅读全文
posted @ 2012-04-24 21:41 Stephen Li 阅读(669) 评论(0) 推荐(0) 编辑
摘要: 运送物资Time Limit: 1000MS Memory limit: 65536K 题目描述A地区发生了洪灾,造成部分道路被毁,通信中断。为了先安顿受灾群众,政府决定利用船只向各个灾民聚集区域运送救灾物资。已知A地区共有居民居住点N个,编号为1-N,受灾后经过卫星拍摄的图片发现还有M条道路可用,并且两个居民居住点之间可能有多条道路相连,也可能无路可通。有道路相连的居民居住点可以认为是一个灾民聚集区域,因为在这个区域内部还可以使用陆地交通工具进行物资的交换。由于洪灾发生的太突然,所有的人员都没有来得及转移,也就是说A地区所有居民居住点都有居民被困。为了尽快完成任务,政府需要知道至少需要多少船 阅读全文
posted @ 2012-04-20 11:15 Stephen Li 阅读(269) 评论(0) 推荐(0) 编辑
摘要: Bullshit BingoTime Limit:1000MSMemory Limit:65536KTotal Submissions:1815Accepted:630DescriptionBullshit Bingo is a game to make lectures, seminars or meetings less boring. Every player has a card with 5 rows and 5 columns. Each of the 25 cells contains a word (the cell in the middle has always the w 阅读全文
posted @ 2012-04-19 17:38 Stephen Li 阅读(405) 评论(0) 推荐(0) 编辑
摘要: Ambiguous permutationsTime Limit:1000MSMemory Limit:65536KTotal Submissions:5319Accepted:3145DescriptionSome programming contest problems are really tricky: not only do they require a different output format from what you might have expected, but also the sample output does not show the difference. 阅读全文
posted @ 2012-04-17 23:22 Stephen Li 阅读(354) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页