I am taking part in a tournament that requires the submission of a single python file. The problem requires quite a bit of computation in very little time and any performance gain would be very beneficial.
What I am wondering is, can I utilize C in some way? I know about Cython as well as C extensions but they require more than one file which means they are unusable. Is there a way to execute compiled C from inside python without another file?