1234567891011121314151617181920212223242526
#include <iostream> #include <windows.h> using namespace std; int main() { intmax_t m=1; intmax_t n=0; int a=1; int i; cin >> i; while(a<=i) { m=m+n; cout << m << endl; Sleep(300); a++; if(a>i) { break; } n=m+n; cout << n << endl; Sleep(300); a++; } }