How many numbers that is smaller or equal to K and is divisible by only one number in a set A ( A.size() <= 20 )

Revision en2, by yosako, 2021-12-25 07:41:04

I forgot to mention K <= 10^18 and A[i] <= 10^9. Please help !!!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English yosako 2021-12-25 07:41:04 5
en1 English yosako 2021-12-25 07:39:07 171 Initial revision (published)