#include <stdio.h>//这边有多种求法,想学的可以滴我 int main() { int i = 0; int n = 0; scanf("%d", &n); long int a[45]; a[0] = 1; a[1] = 1; if (n <2) printf("%10d", a[0]); else if (n >= 2) { printf("%10d", a[1]); printf("%10d", a[1]); } for (i = 2; i < n; i++) { a[i] = a[i - 1] + a[i - 2]; printf("%10d", a[i]); int c=i+1; if(c%5==0) printf("\n"); }return 0;}