Calculating time complexity for CEOI 2018 — Toys (Day 2)

Revision en1, by xennygrimmato, 2018-08-17 09:33:24

I am trying to estimate the upper bound of the time-complexity of this solution by ksun48. Currently, I am assuming the upper bound on the number of divisors of N to be based on this codeforces blog. For simplicity, if we assume the bound on no. of divisors to be exactly N1 / 3, the upper bound can be calculated as N1 / 3 + N1 / 9 + N1 / 27 + ....

How can we find a tighter upper bound for this solution?

Tags ceoi2018, time-complexity

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English xennygrimmato 2018-08-17 09:41:09 289 Remove incorrect time-complexity calculation
en1 English xennygrimmato 2018-08-17 09:33:24 607 Initial revision (published)