得到一件东西需要智慧,放弃一样东西则需要勇气。 ------ 博客首页
摘要: You are given an array aa consisting of n integers. Your task is to say the number of such positive integers x such that x divides each number from th 阅读全文
posted @ 2020-04-10 22:20 lovelycaier 阅读(142) 评论(0) 推荐(0)
摘要: 我们定义一个不上升的且和为 n 的正整数序列,叫做 n 的分解. 比如, 下面是8的分解: [4, 4], [3, 3, 2], [2, 2, 1, 1, 1, 1], [5, 2, 1]. 而这些则不是8的分解: [1, 7], [5, 4], [11, -3], [1, 1, 4, 1, 1]. 阅读全文
posted @ 2020-04-10 22:04 lovelycaier 阅读(193) 评论(0) 推荐(0)