返回顶部
摘要: A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24 阅读全文
posted @ 2024-02-20 19:07 wlesq 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 打的暴力,样例都要过好久,小脑直接萎缩© © Vjudge A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 阅读全文
posted @ 2024-02-20 18:54 wlesq 阅读(5) 评论(0) 推荐(1) 编辑
摘要: 算术基本定理可表述为:任何一个大于1的自然数 N,如果N不为质数,那么N可以唯一分解成有限个质数的乘积N=P1a1P2a2P3a3......Pnan,这里P1<P2<P3......<Pn均为质数,其中指数ai是正整数。这样的分解称为 N 的标准分解式。最早证明是由欧几里得给出的,由陈述证明。此定 阅读全文
posted @ 2024-02-20 18:43 wlesq 阅读(27) 评论(4) 推荐(2) 编辑
摘要: Vjudge Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max su 阅读全文
posted @ 2024-02-20 11:25 wlesq 阅读(6) 评论(0) 推荐(0) 编辑