pth factor of a very large number

Правка en1, от loverBoUy, 2022-10-18 07:08:41

how to find pth factor of number n; example- n= 12 ,p= 3 factor of 12={1,2,3,4,6,12}; ans= 3;

constraints; n<=10^15; got tle in O(sqrt(n)); pls help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский loverBoUy 2022-10-18 07:08:41 191 Initial revision (published)