摘要: Given a positive integer N, how many ways can we write it as a sum of consecutive positive integers? Example 1: Input: 5 Output: 2 Explanation: 5 = 5 阅读全文
posted @ 2020-09-13 10:39 CNoodle 阅读(217) 评论(0) 推荐(0)