This commit is contained in:
Ayke van Laethem
2018-08-17 23:21:47 +02:00
parent 574c7ec047
commit 62c4c5e90b
19 changed files with 28 additions and 45 deletions
-1
View File
@@ -1,4 +1,3 @@
package main
import (
+1 -2
View File
@@ -1,4 +1,3 @@
package main
type Thing struct {
@@ -84,7 +83,7 @@ func fib(n int) int {
if n <= 2 {
return 1
}
return fib(n - 1) + fib(n - 2)
return fib(n-1) + fib(n-2)
}
func sumrange(n int) int {