Counting number triplets product equal to some x.

Revision en1, by ryuga222, 2018-08-15 09:11:42

https://www.geeksforgeeks.org/count-number-triplets-product-equal-given-number/ Can someone provide a faster solution. Constraints : 1 <= n <= 1e5 1 <= x,A[i] <= 1e7 for all 1<= i <=n

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English ryuga222 2018-08-15 09:13:27 0 (published)
en3 English ryuga222 2018-08-15 09:12:40 12
en2 English ryuga222 2018-08-15 09:12:08 6 Tiny change: '-number/\nCan some' -> '-number/\n<br>\nCan some' (saved to drafts)
en1 English ryuga222 2018-08-15 09:11:42 236 Initial revision (published)