Codeforces and Polygon may be unavailable from May 23, 4:00 (UTC) to May 23, 8:00 (UTC) due to technical maintenance. ×
Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

bartkaw's blog

By bartkaw, history, 5 years ago, In English

Hello guys!

Today I'm gonna share with you my code that can help you test your solutions for interactive problems. The checker creates two named pipes, then calls the child process and replaces 0/1 file descriptors to communicate with your solution using this two named pipes.

Here is sample task that I used in my checker: Ehab and another another xor problem

Interactive checker

You can check how this works with correct and incorrect solutions: IncorrectCorrect

This checker works on Ubuntu, and I'm not sure if on the other OS it also works. Please, fell free to comment and have a nice day ;)

Full text and comments »

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