Cody

Problem 2593. Polite numbers. N-th polite number.

A polite number is an integer that sums of at least two consecutive positive integers.

For example 7 = 3+4 so 7 is a polite number.

Given N return N-th polite number.

See also 2595

Solution Stats

47.37% Correct | 52.63% Incorrect
Last solution submitted on Aug 18, 2019

Problem Comments