摘要: PAT中关于大数的有B1017,A1023,A1024 (A-Advance,B-Basic)B10171017. A除以B (20)本题要求计算A/B,其中A是不超过1000位的正整数,B是1位正整数。你需要输出商数Q和余数R,使得A = B * Q + R成立。输入格式:输入在1行中依次给出A和... 阅读全文
posted @ 2015-02-06 17:01 一弓一土两亩田 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 题目链接 http://www.patest.cn/contests/pat-a-practise/1059 Given any positive integer N, you are supposed to find all of its prime factors, and write them 阅读全文
posted @ 2015-02-06 12:56 一弓一土两亩田 阅读(272) 评论(0) 推荐(0) 编辑