N and M are values taken from a list. The idea is to run your program a thousand times or so with different inputs to experimentally determine its big-O efficiency.
It’s one of the things I liked about Codility. They actually ran your code in a sandbox on their server, instead of just trying to parse it to match a known set of “correct” programs.
no subject
Date: 2017-10-26 06:51 pm (UTC)It’s one of the things I liked about Codility. They actually ran your code in a sandbox on their server, instead of just trying to parse it to match a known set of “correct” programs.