输入 的数据是 根据输出的数据决定 的
【推荐使用】若使用scanf printf: 在每次输出后加一句fflush(stdout)
scanf
printf
fflush(stdout)
若使用cin cout: 在#define endl '\n'的情况下 不要关闭同步流! 在每次输出后加一句fflush(stdout)
cin
cout
#define endl '\n'