123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- fast_fibonacci(i: Integer): Integer do
- a: Integer
- b: Integer
- temp: Integer
- count: Integer
- count := i
- a := 0 // asdfgadf
- b := 1
- while count != 0 do
- temp := a
- a := a + b
- b := temp
- count := count - 1
- end
- return a
- end
- extern printint(x: Integer)
- class Aalala
- end
- /*
- bignumbers do
- a: Int128
- b: Int128
- c: Int64
- b := a + c as Int128
- //c := b as Int64
- end
- */
- main: Integer do
- count: Integer
- count := 0
- while count != 20 do
- printint(fast_fibonacci(count))
- count := count + 1
- end
- return 0
- //do_shit
- end
|