摘要: 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 哥的笑百度不到 阅读(153) 评论(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 哥的笑百度不到 阅读(178) 评论(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 哥的笑百度不到 阅读(125) 评论(0) 推荐(0) 编辑