Fixed incorrect division results
This commit is contained in:
@ -22,7 +22,7 @@ main() {
|
||||
}
|
||||
}
|
||||
|
||||
isPrime(x int) -> int {
|
||||
isPrime(x int) -> bool {
|
||||
if x == 2 {
|
||||
return 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user