Loading

摘要: 题目描述 选取和不超过S的若干个不同的正整数,使得所有数的约数(不含它本身)之和最大。 输入格式 输入一个正整数S。 输出格式 输出最大的约数之和。 输入输出样例 输入 #1 11 输出 #1 9 说明/提示 样例说明 取数字4和6,可以得到最大值(1+2)+(1+2+3)=9。 数据规模 S<=1 阅读全文
posted @ 2020-02-23 19:31 脂环 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Description A group of researchers are designing an experiment to test the IQ of a monkey. They will hang a banana at the roof of a building, and at t 阅读全文
posted @ 2020-02-23 14:56 脂环 阅读(153) 评论(0) 推荐(0) 编辑