osalbahr's blog

By osalbahr, history, 2 years ago, In English

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://codeforces.me/gym/101021/submission/159265004

With fflush: Accepted

https://codeforces.me/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://codeforces.me/blog/entry/45307#comment-918362)

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By osalbahr, history, 2 years ago, In English

I noticed in https://codeforces.me/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?

Full text and comments »

  • Vote: I like it
  • +10
  • Vote: I do not like it