bababoy's blog

By bababoy, history, 3 years ago, In English

you are given an array A of n integers .count the number of nonempty subsets of A such that the product of number in the subset is of the form p1*p2*p3*...*pk where p1,p2,p3,p4.... are a distinct prime number.

where

N<=10^4 A[i]<=30

  • Vote: I like it
  • -39
  • Vote: I do not like it

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Do not discuss problems of ongoing contest, discuss when contest gets over.