Sponsored
Use these hints if you're stuck. Try solving on your own first.
Find the divisors of each element in the array.
You only need to loop to the square root of a number to find its divisors.
Solve with full IDE support and test cases