摘要: 题目描述:读入两个小于10000的正整数A和B,计算A+B。需要注意的是:如果A和B的末尾K(不超过8)位数字相同,请直接输出-1。输入:测试输入包含若干测试用例,每个测试用例占一行,格式为"A B K",相邻两数字有一个空格间隔。当A和B同时为0时输入结束,相应的结果不要输出。输出:对每个测试用例... 阅读全文
posted @ 2015-04-09 21:45 打小孩 阅读(255) 评论(0) 推荐(0) 编辑
摘要: The string you will received as a parameter has too many characters. Your job is to remove characters from the string in the following order: 1. Find... 阅读全文
posted @ 2015-04-09 19:35 打小孩 阅读(939) 评论(0) 推荐(0) 编辑