## Problem `setup_problem` only cleared the output buffer when `old_problem_id ~= problem_id`. If two different contests share a problem with the same ID (e.g. both have `a`), the condition is false and stale output from the previous contest remains visible. ## Solution Clear the output buffer at the top of `proceed()` in `setup_contest` whenever `is_new_contest` is true, before any problem setup runs. Closes #303. |
||
|---|---|---|
| .. | ||
| cp | ||