The Lab 6 assignment implies setting "N" value up to 1 000 000. Larger "N" values increase program's execution time which at some point is followed by "timed out while waiting for program to exit" response from check50. A bit frustrating.
Check50 results with "N" equal to 1000 and 1 000 000.
execution time (N = 1 000 000) = 8.4s
execution time (N = 1 000) = 0.04s
The Lab 6 assignment implies setting "N" value up to 1 000 000. Larger "N" values increase program's execution time which at some point is followed by "timed out while waiting for program to exit" response from check50. A bit frustrating.