cs50 / problems

Checks for check50
134 stars 227 forks source link

CS50: Lab 6: Check50 results depend on "N" variable value #190

Open Pakgor opened 1 year ago

Pakgor commented 1 year ago

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.

image 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

nighanxiety commented 1 year ago

While the directions do have you changing N in order to fill out Answers.txt, I believe it's expected that you will reset N=1000 before submitting.