Place files and test5, test6, test7 into the same directory.
test5 and test6 should take under 2 seconds on a standard laptop...
test7 - I scored 99,506 out of 100,000 - missing a few exceptions that I was fixing up at the deadline. So I can't guarantee that the code will score 99,506 this time...
From a Python command line (Python 3.6.9) python3
:
import settings
import q3end
settings.init()
q3end.readfile("test5", 120001)
q3end.save_answers("out5.txt")
settings.init()
q3end.readfile("test6", 1)
q3end.save_answers("out6.txt")
# this only reads test7 and doesn't get all the cases correct
settings.init()
q3end.readfile_v2()
q3end.save_answers("out7.txt")