Fixed incorrect division results
This commit is contained in:
parent
65b74046e1
commit
a75aad52f6
11 changed files with 150 additions and 94 deletions
|
@ -22,7 +22,7 @@ main() {
|
|||
}
|
||||
}
|
||||
|
||||
isPrime(x int) -> int {
|
||||
isPrime(x int) -> bool {
|
||||
if x == 2 {
|
||||
return 1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue