Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about using check50 to validate the output of your problem set solutions. When using this tag, please provide the command you used to run check50 and the full output of the program in the body of the question.
0
votes
1
answer
593
views
Pset 1: Mario Output Looks Correct When I Run the Program, but CS50 Check Indicates That It ...
When I run the Mario.c program I created my output seems to be exactly the same as what I get when I run ~cs50/pset1/mario, but when I use check50 for the problem set (exact input below) I get a bunch … Below is the the response to my check:
jharvard@appliance (~/Dropbox/pset1): check50 2014/x/pset1/mario mario.c
:) mario.c exists
:) mario.c compiles
:( rejects a height of -1
\ expected output …
1
vote
Pset 1: Mario Output Looks Correct When I Run the Program, but CS50 Check Indicates That It ...
For some reason this was causing check50 to view the output as an exit code and overlook the spaces and #s, which were printing just fine when I ran my program. … I changed my while loop to a do while loop and check50 came back all green. …