关于本题交互题的疑问
查看原帖
关于本题交互题的疑问
183603
SUNCHAOYI废物生成器楼主2020/8/12 21:57

以下引自原题:

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.

上面写了每一次输出后都要进行更新,但是为什么我没有写 fflush(stdout) 这一语句却过了呢?Link

关于交互的一些规则我似乎有些不明白qwq。

2020/8/12 21:57
加载中...