Questions tagged [exit-code]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
3 answers
6k 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 ...
TimL's user avatar
  • 11
0 votes
1 answer
92 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 *...
user29714's user avatar
0 votes
1 answer
175 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 ...
PvtWitt's user avatar
0 votes
1 answer
127 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. */ #...
Esther Whang's user avatar
0 votes
1 answer
133 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 ...
adam kirsch's user avatar
0 votes
0 answers
218 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 ...
Ubuntu NutCracker's user avatar