โ† Groupon questions

Product of distinct prime factors for multiple test cases

Filed under Groupon

The question

Given T test cases and N numbers for each test case, find the product of distinct prime factors across all numbers in the test case.

No write-up yet. Related questions below have one.

Related Groupon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.