zznuoj2209 : 疯狂夸赞(2021 第二次新生周赛)C语言
·
#include<stdio.h>
int main()
{
int t,i,n,j;
scanf("%d",&t);
for(i=1;i<=t;i++)
{
scanf("%d",&n);
if(n%2!=0)
{
for(j=1;j<=n/2;j++)
{
printf("Beautiful Handsome ");
}
printf("You are not beautiful\n");
}
else
{
for(j=1;j<=n/2;j++)
{
printf("Beautiful Handsome ");
}
printf("Beautiful You are not Handsome\n");
}
}
return 0;
}
更多推荐



所有评论(0)