See More

class Solution { public int solution(int n) { int answer = 0; double root = Math.sqrt(n); for(int i=1; i