Questions tagged [exit-code]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
192 views

I hope CS50 community can help why I got expected exit code 0, not 1

If I "return None" explicitly for exceptions in a regular .py file, when I do the test.py file, is it correct to test with a "assert function(argument) is None?" I did a pytest and ...
user avatar
  • 1
0 votes
1 answer
66 views

cs50 speller code complies and run also successfully. but it not qualifying for big board

:) dictionary.c and dictionary.h exist :) speller compiles :( qualifies for Big Board expected exit code 0, not 139 :| passes benchmarking can't check until a frown turns upside down how to fix this *...
user avatar
0 votes
1 answer
159 views

Pset4 problem with recover: check50 expected exit code 0, not 3

I know this question has been asked many times before on this forum, but none of the problems addressed so far seem to be the issue in my program. As for many people, my program seems to be working ...
user avatar
0 votes
1 answer
115 views

pset3 exit code of 1, not 0

My code is finding the numbers, but for some reason it's returning 1 instead of 0. This is the helpers.c code. ** * helpers.c * * Helper functions for Problem Set 3. */ #...
user avatar
0 votes
1 answer
128 views

helpers.c still returning the wrong exit code?

When I check my code for helpers.c using check50, it appears that the code is technically working, ie it finds values in the array, and doesn't find them if there not. However, when it finds a number ...
user avatar
0 votes
0 answers
217 views

PSET3 \ expected an exit code of 0, not 1 (find.c)

I successfully built my program and went on to check it using check50 only to discover this :) helpers.c exists :) helpers.c compiles :) finds 42 in {42,43,44} :) finds 42 in {41,42,43} :) finds 42 ...
user avatar