I wrote a Python script for easy challenge PRIME1. It runs fine in the IDE but gives me a Runtime Error(OTHER) when I submit the solution. Presumably the IDE uses a different input file. Since I can’t see either, where can I start debugging? Or is the answer “in the real world you have no access to the input, so here too you must learn to debug blind?”
Maybe start with the most extreme testcase that fits the constraints? Something like:
1
999900000 1000000000
I guess.
1 Like