To simulate the interactive judge, you will need to write the problem checker (judge) code alongside your solution.
Then, use the CROUPIER PYTHON SCRIPT to connect the input/outputs of two different programs.
For eg : This is how i would test a simple interactive binary search game in Linux Environment . I have not tested this on windows but i guess the instruction are pretty similar.
INTERACTIVE JUDGE CODE
INTERACTIVE SOLUTION CODE
Compile the following codes using command in terminal :
g++ judge.cpp -o judge
g++ solution.cpp -o solution
Link the two generated objects using :
python croupier.py “./solution” “./judge”