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
2answers
529 views

Pset6 problem in indexes and load function

Check 50 returns a lot of errors https://sandbox.cs50.net/checks/caefd03d8ac2485b820743724297b846 Edit: New check50 https://sandbox.cs50.net/checks/fa32659c01b742b78c18f1568d48b90d My load function ...
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 ...
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 ...
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 ...
0
votes
1answer
130 views

pset3 output seemingly correct but not for check50

My problem is that I cannot make it correct in the check50 although the output from the simple testing seemingly fine. It would be grateful if anyone could help me understanding how to solve this. ...
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.............................................
1
vote
4answers
1k views

check50 gives confusing results for pset4 resize

FOR CS50 STAFF ACTION: When I ran check50 against resize, I got a very confusing result. I've seen that others have seen the exact same result. Here's the problem - the output is giving negative ...
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.
0
votes
4answers
2k views

No internet connection in the appliance?

I have an internet connection and I can browse the web with Chrome in the appliance. But I can't run check50 or update50 in terminal. It shows this when I try.
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
274 views

check50 rejects greedy even if the correct answer is displayed

When I run check50 on pset1 it does not validate my solution, even if it says that the expected output is the same as the correct output. Does anyone know what the problem is?
2
votes
1answer
167 views

Appliance still does not seem to have internet access

I'm having trouble using check50. I can browse with chrome and update50 works but when I use check50 the terminal or github it tries stuff for about 5 mins then gives up and says I should restart. I ...
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
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/...
0
votes
1answer
72 views

Load and server not working, am confused

Am really trying to solve server.c though I don't really understand the specification for load and indexes functions. My parse and lookup seems to be working well, they passed check50 for server1 ...
0
votes
1answer
813 views

pset2 - caesar - check 50 passes except for one weird error

Here's what I'm getting back - thoughts on how to fix this? jharvard@appliance (~/Dropbox/pset2): check50 2014/x/pset2/caesar caesar.c :) caesar.c exists :) caesar.c compiles :) encrypts "a" as "b" ...
0
votes
1answer
172 views

check50 not working on pset3

When I try to run: check50 cs50/2017/x/find/less I get this: Traceback (most recent call last): File "/opt/pyenv/versions/3.6.0/bin/check50", line 6, in <module> from pkg_resources ...
1
vote
1answer
99 views

CHECK50 Unexpected End of Input - Is it me or the server?

Recently, there have been a rash of questions that center around getting the "Unexpected end of input" error from check50. This happens for a couple reasons. There is a timer built into check50 to ...
1
vote
1answer
101 views

Pset6: Errors with Check50

When I use check50 to check my parse function, I find that check50 fails multiple tests and that the terminal generates multiple errors. I am using strtok to separate the request line into different ...
0
votes
4answers
1k views

check50 is broken ?? how can I get it back ? Please

Please, someone can explain me why check50 doesn't work anymore and how can I get it back working fine ? When I enter the code for check50 : I had to put my log in name and password ..... and they ...
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 ...
2
votes
1answer
761 views

pset7 finance check50 doesn't detect a valid sale despite portfolio updating correctly

I'm puzzled why check50 shows me this error despite my portfolio and SQLite database correctly reflecting the sold shares :( sell handles valid sale expected to find "56.00" in page, but it ...
1
vote
1answer
146 views

Parse wont pass check50

for some reason my code isnt passing: :( Two spaces after GET returns error code & :( Two spaces before HTTP/1.1 returns error code I cant see what would cause that. A previous question indicates ...
1
vote
1answer
1k views

check50 reports resize as incorrect for 1, 2, 3, 5 for seemingly correct code

is the check50 report for my code : jharvard@appliance (~/Dropbox/pset5/bmp): check50 2014/x/pset5/resize bmp.h resize.c :) resize.c and bmp.h exist :) resize.c compiles :( doesn't resize 1x1-pixel ...
1
vote
1answer
284 views

check50 has 2 TODO's in red for resize.c

When I run my implementation of resize.c in check50, there are two "TODO's" in red at the bottom of some sections. Does anyone know what this means? (My programs output is identical to the staff's ...
1
vote
1answer
263 views

pset5 - possessives and substrings

I have posted this questions a few days ago, but none of us were getting anywhere. I thought maybe including my code for load as well as check might yield some new revelations. Anyway, here is the ...
1
vote
2answers
1k views

pset4 recover: last image not recovered correctly

My program does return all 50 jpegs, check50 says that the last file is not recovered correctly. Unfortunately, I have no idea of why - I check for the end of the file before reading new data into the ...
0
votes
1answer
83 views

PSET5: Check is not working properly…i think

When I test my code...it counts most words as misspelled and only 1 or 2 words as being in dictionary..i presume the issue is in the check function...i do believe the load function works just fine as ...
0
votes
1answer
241 views

check50 claiming pairs are sorted incorrectly

On Problem Set 3, check50 has flagged my program as not having sorted the pairs correctly. However, the pairs array appears to be sorted in every case I've tried. I used insertion sort and had ...
0
votes
1answer
217 views

pset 8 finance: “:( buy handles valid purchase” fails

I`am bug fixing my application and can't find a solution for the ":( buy handles valid purchase" test. Here is Log: expected to find "112.00" in page, but it wasn't found Log sending POST ...
0
votes
1answer
234 views

CS50/Pset3/Music, timed out while waiting for program to exit, How to debug?

Something goind wrong in the frequency function and i don't know how to debug with these many files of the programm to allocate the problem. i've made a seprate test file to just test the frequency ...
0
votes
2answers
803 views

Pset7 Finance Register - Works fine but error in check50

I'm struggeling with this bug for several days now and don't know how to fix it. I didn't find an answer in all the previous questions. Except my personal touch I finished pset7. If I start flask ...
0
votes
1answer
806 views

PSET7 Finance - check50 error

I passed all test except one. ":( registration rejects duplicate username" (picture below) However I get the correct error message (400) in terminal when try to use username that is already taken. ...
0
votes
1answer
586 views

Pset 3 - Check 50 error for fifteen

The code for pset 3 fiftenn is running fine when i enter different values of d and is getting completed as well. But on check 50 getting the following set of errors. Any help here would be ...
0
votes
1answer
778 views

PSET7 - finance check50 error

I'm getting the following error from check50 for Pset7 Finance: Why does check50 fail to login as a registered user?! It works perfectly fine for me to log in. That login function is contained in ...
0
votes
1answer
128 views

check50 different result for the same code

There is one code (initials.c), but check50 displayed different results. I have the same problem with caesar and gridy. What did i do wrong? In gradebook this codes are whithout grades - everywhere 0. ...
0
votes
1answer
323 views

Pset3 Find Check50 is Inconsistent

When I run check50 on the find program for Pset 3 I get an inconsistent error about output from CLang. Sometimes it works and other times it produces an error on one of the tests. The error can be ...
0
votes
1answer
569 views

pset6 check50 doesn't pass for possessives and substrings properly

I probably almost got my pset6 working. When I run the check50 on it, it says: :( handles possessives properly \ expected output, not standard error of "/opt/sandbox50/bin/run.sh: line 31: 184..." ...
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 ...
0
votes
1answer
72 views

pset1 greedy check50 comparsion comes up with sad faces not sure why

So I'm unsure of why I'm getting the red sad faces :< It seems that my code is giving the same/correct answer.
0
votes
2answers
302 views

Submitting pset5 for proper grading

On the advice of the following statement in the instructions for pset5: "You may add functions to dictionary.c or to files of your own creation so long as all of your code compiles via make." I ...
0
votes
3answers
359 views

pset4 resize.c check50 gives error even though resizing is done correctly

I used the peek command to check my headers using the command ~cs50/pset4/peek student.bmp staff.bmp and everything is alright and perfectly matches with the staff's implementation as follows : ~/...
0
votes
1answer
182 views

Pset6 server.c Error 403

server.c is giving error(403) inside transfer function (written by default) lookup function : const char* lookup(const char* path) { char* s=(char*)calloc(20,1); strcpy(s,""); char *...
0
votes
1answer
391 views

killed by server

) helpers.c exists :( helpers.c compiles \ killed by server :| finds 42 in {42,43,44} \ can't check until a frown turns upside down :| finds 42 in {41,42,43} \ can't check until a frown turns ...