← 返回 snapchat 的题目列表Combinations of Prime Numbers
类型:online_judge
Given a list of prime numbers list[int], find all possible combination products.
Example:
Input: [2, 3, 5]
Output: [6, 10, 30, 15]
Constraints:
The length of list nums is in the range [1, 10].
The primes in nums are in the range [2, 50].
Example
Input
2,3,5