摘要: Sorting It All OutTime Limit:2 Seconds Memory Limit:65536 KBAn ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smallest to largest. For example, the sorted sequence A, B, C, D implies that A < B, B < C and C < 阅读全文
posted @ 2013-05-04 21:44 哥的笑百度不到 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Truck HistoryTime Limit:5 Seconds Memory Limit:32768 KBAdvanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other for furniture, or for bricks. The company has its own code describing each type of atruck. The code is simply a string of exactly se 阅读全文
posted @ 2013-05-04 16:21 哥的笑百度不到 阅读(212) 评论(0) 推荐(0) 编辑
摘要: QS NetworkTime Limit:2 Seconds Memory Limit:65536 KBSunny Cup 2003 - Preliminary RoundApril 20th, 12:00 - 17:00Problem E: QS NetworkIn the planet w-503 of galaxy cgb, there is a kind of intelligent creature named QS. QScommunicate with each other via networks. If two QS want to get connected, they n 阅读全文
posted @ 2013-05-04 15:32 哥的笑百度不到 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Domino EffectTime Limit:2 Seconds Memory Limit:65536 KBDid you know that you can use domino bones for other things besides playing Dominoes? Take a number of dominoes and build a row by standing them on end with only a small distance in between. If you do it right, you can tip the first domino and c 阅读全文
posted @ 2013-04-10 21:23 哥的笑百度不到 阅读(149) 评论(0) 推荐(0) 编辑
摘要: FrecklesTime Limit:3000MSMemory Limit:Unknown64bit IO Format:%lld & %llu[Submit] [Go Back] [Status]DescriptionProblem A: FrecklesIn an episode of the Dick Van Dyke show, little Richie connects the freckles on his Dad's back to form a picture of the Liberty Bell. Alas, one of the freckles tur 阅读全文
posted @ 2013-03-25 21:58 哥的笑百度不到 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Problem ATime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 5Accepted Submission(s) : 4Problem Description"Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says."The second problem is 阅读全文
posted @ 2013-03-14 16:12 哥的笑百度不到 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Box of BricksTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3091Accepted Submission(s): 1388 Problem DescriptionLittle Bob likes playing with his box of bricks. He puts the bricks one upon another and builds stacks of different height. ``Look, I& 阅读全文
posted @ 2013-03-12 23:24 哥的笑百度不到 阅读(149) 评论(0) 推荐(0) 编辑
摘要: "下沙野骆驼"ACM夏令营Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 541Accepted Submission(s): 254 Problem Description大家都知道,杭电计算机学院为了吸引更多的学生参与到程序设计竞赛中去,从2005年秋天,开始举行月赛,并一直坚持到了现在。事实表明,这项措施的效果还是很明显的,现在坚持参加训练的学生比以前有了较大幅度的增长,整体水平也有了较大的提高。 为了更好的促进这项 阅读全文
posted @ 2013-03-12 22:40 哥的笑百度不到 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 找新朋友Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 5174Accepted Submission(s): 2652 Problem Description新年快到了,“猪头帮协会”准备搞一个聚会,已经知道现有会员N人,把会员从1到N编号,其中会长的号码是N号,凡是和会长是老朋友的,那么该会员的号码肯定和N有大于1的公约数,否则都是新朋友,现在会长想知道究竟有几个新朋友?请你编程序帮会长计算出来。Input第一行是测试数据的组数CN(Ca 阅读全文
posted @ 2013-03-12 22:08 哥的笑百度不到 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 欢迎大家报名参加腾讯编程马拉松~AC MeTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8656Accepted Submission(s): 3832Problem DescriptionIgnatius is doing his homework now. The teacher gives him some articles and asks him to tell how many times each letter appears. 阅读全文
posted @ 2013-03-11 12:25 哥的笑百度不到 阅读(156) 评论(0) 推荐(0) 编辑