摘要: Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 2469135 阅读全文
posted @ 2018-04-21 20:28 王清河 阅读(143) 评论(0) 推荐(0)
摘要: 本题要求计算A/B,其中A是不超过1000位的正整数,B是1位正整数。你需要输出商数Q和余数R,使得A = B * Q + R成立。 输入格式: 输入在1行中依次给出A和B,中间以1空格分隔。 输出格式: 在1行中依次输出Q和R,中间以1空格分隔。 输入样例: 输出样例: 阅读全文
posted @ 2018-04-21 19:10 王清河 阅读(115) 评论(0) 推荐(0)