3.7.11 fibtest

We use cookies. Read the Privacy and Cookie Policy

3.7.11 fibtest

proc fib() {

 a = 0

 b = 1

 while (b < $1) {

  c = b

  b = a+b

  a = c

 }

}

i = 1

while (i < 1000) {

 fib(1000)

 i = i + 1

}

Данный текст является ознакомительным фрагментом.