Interactive checker

Revision en1, by bartkaw, 2019-01-15 19:03:06

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 ;)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English bartkaw 2019-01-15 19:03:06 2307 Initial revision (published)