关于交互题---Idleness limit exceeded(codeforces)

版权声明:欢迎学习我的博客,希望ACM的发展越来越好~ https://blog.csdn.net/qq_41289920/article/details/87934389

Idleness limit exceeded的中文:懒惰超过限制。----来自有道翻译

大概意思是在该输出的情况下没有输出数据

比如这个:

而且一般都会提醒你:(在每条输出之后加)

After outputting each line, don't forget to flush the output. For example:

  • fflush(stdout) in C/C++;
  • System.out.flush() in Java;
  • sys.stdout.flush() in Python;
  • flush(output) in Pascal;
  • See the documentation for other languages.

当然也可以输出的时候用cout<<...<<endl;来起到清空缓冲区的作用。

猜你喜欢

转载自blog.csdn.net/qq_41289920/article/details/87934389