//以n为输出的个数#include#includemain(){int n,i;scanf("%d",&n);for (i=1;i<=n;i++) {if (i%2==0) printf("b"); else printf("a"); } getch();}