Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

geometric series problem 
Difference between en1 and en2, changed 37 character(s)
http://mirror.codeforces.com/contest/758/problem/F↵

Guys can anybody explain why the upper bounds for x and y for the ratio d = x/y is n-1 th root of 'r'?↵

I know it myself but I want to know what other coders think about it.↵

So basically explain why x <= power(r, 1 / (n &mdash; 
1)) and y <= power(r, 1 / (n &mdash; 1))?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English bhikkhu 2017-01-23 23:27:05 37 Tiny change: 'mdash; 1))?' -> 'mdash; 1)) and y <= power(r, 1 / (n - 1))?'
en1 English bhikkhu 2017-01-23 23:26:31 309 Initial revision (published)