Skip to main content

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
2 answers
534 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 ...
Anirudh Thatipelli's user avatar
2 votes
3 answers
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 ...
Mateus Pires's user avatar
12 votes
1 answer
20k 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 ...
kzidane's user avatar
  • 17.7k
4 votes
2 answers
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 ...
user81's user avatar
  • 53
13 votes
1 answer
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.............................................
DivineArtist's user avatar
1 vote
4 answers
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 ...
Cliff B's user avatar
  • 69k
0 votes
4 answers
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.
iCS50's user avatar
  • 17
0 votes
3 answers
690 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.
Phillip's user avatar
  • 15
3 votes
3 answers
4k 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 ...
cursue's user avatar
  • 35
2 votes
1 answer
187 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 ...
FuzzyDunlop's user avatar
2 votes
1 answer
281 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?
Alfredo Chavez's user avatar
1 vote
1 answer
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 ...
uma1966's user avatar
  • 199
0 votes
1 answer
1k views

pset1 cash 2022

hello guys I got en error from check50 2022 which you can see it in my screenshot I check it 100 times but I can't resolve the problem can you please help me? #include <cs50.h> #include <...
Dayan Mehrani's user avatar
0 votes
1 answer
192 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. ...
Pedarun's user avatar
0 votes
1 answer
195 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/...
Gaurav Singh Negi's user avatar
0 votes
1 answer
870 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" ...
jsa724's user avatar
  • 3
0 votes
1 answer
97 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 ...
excel's user avatar
  • 29
0 votes
1 answer
177 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 ...
Serena Hack's user avatar
3 votes
1 answer
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 ...
crack64's user avatar
  • 35
2 votes
1 answer
2k 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 ...
Kewal Shah's user avatar
1 vote
1 answer
103 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 ...
SuperNovaCoder's user avatar
1 vote
1 answer
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 ...
user1580's user avatar
1 vote
1 answer
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 ...
Mike Stache's user avatar
1 vote
1 answer
148 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 ...
Michael's user avatar
  • 23
1 vote
1 answer
102 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 ...
Cliff B's user avatar
  • 69k
1 vote
1 answer
271 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 ...
Chris's user avatar
  • 41
1 vote
2 answers
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 ...
Laura's user avatar
  • 17
0 votes
1 answer
75 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.
Erin Price's user avatar
0 votes
1 answer
591 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 ...
Hardik Rathod's user avatar
0 votes
1 answer
574 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..." ...
Agetribe's user avatar
0 votes
1 answer
964 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 ...
Faye_108's user avatar
0 votes
2 answers
682 views

pset7 finance check50 invalid purchase

I have seen a couple of questions on this problem, but the answers for them do not work for me. I am having the check50 problem on pset7 with check50 not finding 112.00. One answer was to use usd in ...
Nancy Holt's user avatar
0 votes
1 answer
242 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 ...
Sengo's user avatar
  • 7
0 votes
1 answer
1k 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. ...
thel's user avatar
  • 11
0 votes
2 answers
1k 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 ...
tobias12435's user avatar
0 votes
1 answer
170 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. ...
Andriy Targoniy's user avatar
0 votes
1 answer
464 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 ...
Dawienchi's user avatar
0 votes
1 answer
107 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 ...
Ash's user avatar
  • 35
0 votes
2 answers
376 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 ...
NYCJacob's user avatar
0 votes
1 answer
304 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 ...
Gabriel Saul's user avatar
0 votes
1 answer
405 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 ...
Dan Odeh's user avatar
0 votes
3 answers
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 : ~/...
Ayodhya Mukund's user avatar
0 votes
2 answers
316 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 ...
Chris's user avatar
  • 159
0 votes
1 answer
331 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 ...
Annieedx's user avatar
0 votes
1 answer
201 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 *...
Salil Jain's user avatar