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

46.57% Correct | 53.43% Incorrect
Last Solution submitted on Mar 25, 2020

Problem Comments