Not_Hadid_007's blog

By Not_Hadid_007, history, 9 days ago, In English

The upcoming Codeforces round may contain an interactive problem, and I've never solved one before.

From what I understand, these problems involve communicating with the judge through queries and responses rather than receiving the complete input upfront.

How does this interaction work at the implementation level? Specifically, how are queries handled, responses processed, and output flushing managed? Any tips for approaching interactive problems for the first time would be appreciated.

Full text and comments »

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

By Not_Hadid_007, history, 3 weeks ago, In English

What clues do you usually look for when identifying a Greedy problem during a contest? Are there any common patterns, constraints, or characteristics that help you recognize one? I'd love to hear your approaches and experiences!

Full text and comments »

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