Error while submitting the code

Sir, I submitted the code with the following program:
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();

	if(isprime(n))
		System.out.println("Prime");
	else
		System.out.println("Not Prime");
	//sc.close();
}

private static boolean isprime(int n) {
	if(n==1)
		return false;
	for(int i=2;i*i<=n;i++) {
		if(n%i==0)
			return false;
	}
	return true;
}

but still, I got 75 points although all test cases give the correct answer

your code looks correct…
you can contact [email protected] for this issue

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.