DWITE Online Computer Programming Contest, December 2007, Problem 1
Tony is busy writing his University exams, and lacks creativity. So he's making you write what you've already done in the last DWITE round, but differently. Instead of semiprimes, this time you're interested in numbers with unique prime factors.
The input will contain five integers, one per line. .
The output will contain five lines, stating if the supplied integers were
Note: you're looking for unique factors. For example, has three prime factors: , , . But it's only two unique numbers: and . Thus is not what is asked for.
10 12 15 30 105
not not not valid valid