1952. Three Divisors
Easy
Given an integer n
, return true
if n
has exactly three positive divisors. Otherwise, return false
.
An integer m
is a divisor of n
if there exists an integer k
such that n = k * m
.
Example 1:
Example 2:
Constraints:
1 <= n <= 104
解題
Last updated