资 源 简 介
给定一个正整数 n,计算有多少个不同的连续自然数段,其和恰为 n。例如,当 n=27
时,有4个不同的连续自然数段的和恰为27:2+3+4+5+6+7;8+9+10;13+14;27。 -Given a positive integer n, calculate the number of consecutive natural number of different paragraph, and its and exactly n. For example, when n = 27 when the four have a different section of consecutive natural numbers and exactly 27:22 B! 3+ 4+ 5+ 6+ 7 8+ 9+ 10 13+ 14 27.