#include <stdio.h>
int main() {
int fib[100];
int n;
fib[0] = 0;
fib[1] = 1;
n--;
for (int i = 2; i < n; i++) fib[i] = fib[i - 1] + fib[i - 2];
for (int i
= 0; i
< n
; i
++) printf("%d ", fib
[i
]); }
//https://pt.stackoverflow.com/q/244268/101
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKCWludCBmaWJbMTAwXTsKCWludCBuOwoJc2NhbmYoIiVkIiwgJm4pOwoJZmliWzBdID0gMDsKCWZpYlsxXSA9IDE7CgluLS07Cglmb3IgKGludCBpID0gMjsgaSA8IG47IGkrKykgZmliW2ldID0gZmliW2kgLSAxXSArIGZpYltpIC0gMl07Cglmb3IgKGludCBpID0gMDsgaSA8IG47IGkrKykgcHJpbnRmKCIlZCAiLCBmaWJbaV0pOwp9CgovL2h0dHBzOi8vcHQuc3RhY2tvdmVyZmxvdy5jb20vcS8yNDQyNjgvMTAx