I'm very interested in how judge works. Maybe there already exist some topic in this spacious forum, so I would appreciate some links.

I wonder how does he stop the program when TLE, how are MLE & OLE measured and so on...

Moderator: Board moderators
On linux you can control resources (memory, cpu time, ...) available to the user by the ulimit. For example in bash you can writeN|N0 wrote:I wonder how does he stop the program when TLE, how are MLE & OLE measured and so on...
Code: Select all
ulimit -t 47
./your_binary