Questions tagged [check50]

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.

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

Does greedy's Output Have to Match The One Required per the Pset Specification Page?

I'm trying to check my greedy program with check50. I'm wondering whether my output must match the one required per the pset specification page. Here's check50's output jharvard@appliance (~/Dropbox/...
1
vote
1answer
754 views

Why Does mario Not Pass check50 Tests?

Having issues passing check50's tests for mario. I looked at other issues, including ones that look the same as mine, but I haven't found a solution. My code seems to give the desired results as ...
1
vote
1answer
3k views

What do these Check50 errors mean?

I get many compilation errors when I compile greedy.c. However, my mario.c and greedy.c programs with 2 and 3 residual appear to pass check50 tests! jharvard@appliance (~/Dropbox/pset1): check50 ...
0
votes
1answer
2k views

How to Handle “rejects ”Hax0r2“ as keyword” in Vigenere?

So I made my Vigenere program and it passes all the tests except for the last one about not accepting keys with non-alphas. Now, I have a check in my program to stop this, and when it detects a non-...
3
votes
1answer
1k views

Why doesn't caesar pass check50 even though the output is correct?

I have solved caesar, but check50 is not recognizing my results as correct. :) caesar.c exists :) caesar.c compiles :( encrypts "a" as "b" using 1 as key \ expected output, but not "b" :( encrypts ...
0
votes
2answers
375 views

Pset5 resize works but fails check50 TODO- bytes and headers match staff bmp file

I know others have had a similar problem and I have tried to find my error but I see no difference between my bmp file and the staff.bmp. Since reddit seems very quiet these days I am posting here ...
1
vote
1answer
963 views

Usage: check50 id path [path…]

When I run check50 for vigenere I get the message "Usage: check50 id path [path...]. I have tried restarting the appliance and running update50, which seems to run, but the check50 still gives the ...
3
votes
3answers
3k views

Stuck on PSet1: I have the correct output, but Check50 says it's wrong

I'm stuck on the Mario part of PSet1. I've managed to write up my program and the output is always correct (or at least seems to be to me). I know it's definitely the loops that are making things ...
2
votes
1answer
622 views

Failing one test case with check50 on pset2 - encrypts “say” to “szz” instead of “rby”

encrypts "world, say hello!" as "xoqmd, rby gflkp!" using "baz" as keyword # Checks 0 Running... clang -o vigenere vigenere.c -lcs50 -lm. ✔ 1 Expecting an exit code of 0. ✔ 2 Running... ...
11
votes
1answer
16k views

How to Use check50?

Here are some of the most frequently asked questions about check50. What is check50? What is an ID? How to run check50? How to know if my program is correct? Does check50 record my scores in CS50's ...
0
votes
1answer
336 views

Problem Set 2 Standard Edition Check 50 vigenere Error

When I run my vigenere.c in the appliance it behaves exactly like it should. But when I run check50 I get the following output: :( encrypts "world, say hello!" as "xoqmd, rby gflkp!" using "baz" as ...
0
votes
2answers
542 views

check 50 shows error \ expected output, not standard error of “clang: error: no such file or directory…”

I have completed pset6. It compiles and also functions correctly. But check50 somehow shows me this error. :) dictionary.c, dictionary.h, Makefile exist :( speller compiles \...
2
votes
3answers
2k views

hacker1 - credit - Problems on some card numbers

The logic from hacker1: Multiply every other digit by 2, starting with the number's second-to-last digit, and then add those products' digits together. Add the sum to the sum of the digits ...
0
votes
1answer
106 views

Is anyone else having trouble with check50 on the ceasar program in problem set 2?

I am certain that my program is giving the correct outputs for each of the inputs that the check50 function claims that it is trying. The red :( faces are telling me otherwise. All of the test inputs ...
1
vote
1answer
2k views

“Invalid ID” error when submitting mario for check50

Did I miss a step in setting up my appliance? I am not sure what invalid ID refers to. jharvard@appliance (~/Dropbox/pset1a): check50 2014/x/pset1a mario mario.c Checking............ invalid ID
0
votes
1answer
595 views

recover.c recovers all images successfully, but check50 says it fails to recover the last. Any ideas why this is happening?

I have a while (!feof(infile)) loop, so that exits only when the eof is reached. And it closes all files upon exit. Here's the code: // scan input file while (!feof(infile)) { // read four bytes ...
0
votes
3answers
685 views

Mario Pyramid - Check50 - Unexpected end of input

Does anyone know what this means? I'm getting the correct output from my program and this is the only message I get from check50.
13
votes
1answer
3k views

check50 returns unexpected end of input

I recently finished my code for pset5 recover.c. It compiles, and runs successfully and recovers all 50 pictures. But when I try check50, it gives Checking.............................................
4
votes
2answers
1k views

Why does check50 fail with status code 400?

For the last month, I've been trying to use check50 to see if I wrote the right code for the problem sets, but no matter which problem, it always fails with status code 400. Any idea what I should ...

1
9 10 11 12
13