Interactive checker

Правка en1, от 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 ;)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский bartkaw 2019-01-15 19:03:06 2307 Initial revision (published)