Formula
for i = 1 to n ans+=pow(x,i)
can it calculated in less than o(n) ? thanks in advance
ABC 483
ICPC NA North Central and South Division