Fixed incorrect division results

This commit is contained in:
Eduard Urbach 2025-02-22 12:54:23 +01:00
parent 65b74046e1
commit a75aad52f6
Signed by: eduard
GPG key ID: 49226B848C78F6C8
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
}