Блог пользователя osalbahr

Автор osalbahr, история, 3 года назад, По-английски

Is there a reason why I needed to fflush( stdout ) in the sample interactive problem even though I printed a newline in the printf? When I run the code locally, it does flush automatically, as expected.

Without fflush: Idleness limit exceeded on test 1

https://mirror.codeforces.com/gym/101021/submission/159265004

With fflush: Accepted

https://mirror.codeforces.com/gym/101021/submission/159265085

Shouldn't they be equal? I am not sure if this is a misunderstanding on my behalf, or an issue in the interactor (at least for GNU C11).

(Comment in context https://mirror.codeforces.com/blog/entry/45307#comment-918362)

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор osalbahr, история, 3 года назад, По-английски

I noticed in https://mirror.codeforces.com/contest/4/standings/page/27 that after #3692, the remaining contestants were not ranked, and have a star "*" to the left of their usernames. What does this mean?

Полный текст и комментарии »

  • Проголосовать: нравится
  • +10
  • Проголосовать: не нравится