Recently, I find there are many interesting interactive problems on many platforms, including Codeforces. Usually, the example testcases and generated cases are rather small and it is easy for me to type in and test it directly on the C++ IDE console. But, if the tests are as big as in 1100D - Dasha and Chess, I can't afford to spend hours typing that in (who does that anyway ==). Of course test it directly by submitting it is a solution to this problem, but what if there is a small bug in my code, how can I find it?
I find this blog rather interesting: https://codeforces.net/blog/entry/49490. It said something about the Croupier (the Interactor), which is exactly what I'm looking for. But it is implemented in Python, so there are many unknown syntax for me, and I'm unable to translate it to C++ to use. Can anyone help me out?