printf("No")就可以,\n去掉。printf("Yes")也一样
你输入1试试,它输出啥。printf(“Yes\n”); 这句前面加 if(i>=n && n != 1) printf(“Yes\n”);