文档分类
#include<stdio.h> int main() {
int a=1,b=0,t,m,n=0; scanf("%d",&t); while(n<t){ m=b;
b=3*a+2*b; a=m; n++; }
printf("%d %d",a,b); return 0; }