olimpiadi-informatica/task-maker-rust

Communication task problems

Closed this issue · 2 comments

  • Communication with a generator is not supported
  • If the solution TLEs but the manager still reports 1.0, tmr assigns non0 to the subtask anyway.

Communication with a generator is not supported

Very interesting, I'll take a look soon.

If the solution TLEs but the manager still reports 1.0, tmr assigns non0 to the subtask anyway.

It's a bug to me as well. If the solution doesn't exit within the time limit, it should get a TLE, regardless of the fact that it managed to provide the output to the manager in time. This is especially true under task-maker because we cannot check if the solution provided the answer within the TL, or just between the TL and the wall TL.

For completeness, this is the current behavior of a solution that prints the correct answer in the communication_stdin test, but then gets stuck in a infinite loop:

image

Will fix this in a upcoming PR.