上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 43 下一页
  2016年4月22日
摘要: Problem Description background: Philip likes to play the QQ game of Snooker when he wants a relax, though he was just a little vegetable-bird... 阅读全文
posted @ 2016-04-22 23:38 cnxo 阅读(284) 评论(0) 推荐(0) 编辑
摘要: Problem Description 为自行解决学费,chx勤工俭学收入10000元以1年定期存入银行,年利率为3.7% 。利率 按年计算,表示100元存1年的利息为3.7元.实际上有时提前有时推迟取,因此实际利息按天 计算,1年按365天计算,因此Q天的利息是 本金*3.7/1... 阅读全文
posted @ 2016-04-22 23:13 cnxo 阅读(309) 评论(0) 推荐(0) 编辑
摘要: Problem Description Conversion between the metric and English measurement systems is relatively simple. Often, it involves either multiplying... 阅读全文
posted @ 2016-04-22 22:47 cnxo 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Problem Description Consecutive sum come again. Are you ready? Go ~~ 1 = 0 + 1 2+3+4 = 1 + 8 5+6+7+8+9 = 8 + 27 … You can see the cons... 阅读全文
posted @ 2016-04-22 22:10 cnxo 阅读(116) 评论(0) 推荐(0) 编辑
摘要: Problem Description 相信大家一定有过在网上下载软件而碰到多个不同版本的情况。一般来说,软件的版本号由三个部分组成,主版本号(Major Version Number),子版本号(Minor Version Number)和修订号(Revision_Number)... 阅读全文
posted @ 2016-04-22 21:19 cnxo 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Problem Description As is known to all, Sempr(Liangjing Wang) had solved more than 1400 problems on POJ, but nobody know the days and nights ... 阅读全文
posted @ 2016-04-22 21:06 cnxo 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Problem Description 输入两个不超过整型定义的非负10进制整数A和B(<=231-1),输出A+B的m (1 < m <10)进制数。Input 输入格式:测试输入包含若干测试用例。每个测试用例占一行,给出m和A,B的值。 当m为0时输入结束。Output 输出格... 阅读全文
posted @ 2016-04-22 20:44 cnxo 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Problem Description Excel可以对一组纪录按任意指定列排序。现请你编写程序实现类似功能。Input 测试输入包含若干测试用例。每个测试用例的第1行包含两个整数 N ( c)根据指定比较器产生的顺序对指定对象数组进行排序。数组中的所有元素都必须是通过指定比较器可... 阅读全文
posted @ 2016-04-22 20:32 cnxo 阅读(222) 评论(0) 推荐(0) 编辑
摘要: (该字符串可以包含空格和回车!) 【题目要求】 编写一个递归函数,实现将输入的任意长度的字符串反向输出的功能。 例如输入字符串:ABCD,输出字符串:DCBA。【题目分析】 应用递归的思想有时可以很轻松地解决一些看似不太容易实现的功能。 本题就是利用递归方法... 阅读全文
posted @ 2016-04-22 19:02 cnxo 阅读(3502) 评论(0) 推荐(0) 编辑
摘要: Problem Description 统计一个给定字符串中指定的字符出现的次数Input 测试输入包含若干测试用例,每个测试用例包含2行,第1行为一个长度不超过5的字符串,第2行为一个长度不超过80的字符串。注意这里的字符串包含空格,即空格也可能是要求被统计的字符之一。当读到’#... 阅读全文
posted @ 2016-04-22 15:35 cnxo 阅读(222) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 43 下一页