Fixed incorrect division results

This commit is contained in:
2025-02-22 12:54:23 +01:00
parent 7598411c8f
commit c088697446
11 changed files with 150 additions and 94 deletions

View File

@ -22,7 +22,7 @@ main() {
}
}
isPrime(x int) -> int {
isPrime(x int) -> bool {
if x == 2 {
return 1
}