随笔分类 -  暑假集训题目报告

干吧得!
摘要:(慢慢看题目,O(∩_∩)O~)Mohammad has recently visitedSwitzerland. As he loves his friends very much, he decided to buy some chocolate for them, but as this fi... 阅读全文
posted @ 2015-07-16 20:26 白一 阅读(177) 评论(0) 推荐(0)
摘要:题目大意: 把所给的年龄排序输入: 第一行输入一个数,表示给的年龄个数; 第二行输入所给的具体年龄以0作为输出结束标志样例: 53 4 2 1 5输出:把年龄从小到大排序;样例: 1 2 3 4 5分析:利用sort函数就可以把年龄排序源代码: 1 #include 2 #include 3 us... 阅读全文
posted @ 2015-07-16 20:08 白一 阅读(1079) 评论(0) 推荐(0)
摘要:题目大意:A soldier wants to buywbananas in the shop. He has to paykdollars for the first banana,2kdollars for the second one and so on (in other words, he... 阅读全文
posted @ 2015-07-16 19:44 白一 阅读(367) 评论(0) 推荐(0)