随笔分类 - PAT甲级
摘要:1001 A+B Format (20)(20 分)提问 Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits). In...
阅读全文
摘要:完美数列(25) 时间限制 1000 ms 内存限制 32768 KB 代码长度限制 100 KB 判断程序 Standard (来自 小小) 题目描述 给定一个正整数数列,和正整数p,设这个数列中的最大值是M,最小值是m,如果M <= m * p,则称这个数列是完美数列。现在给定参数p和一些正整数
阅读全文

浙公网安备 33010602011771号