Tester for checking acm contest solutions