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
224 views

CS50 Recover did not pass check50

I am currently struggling to pass pset4, specifically on Recover. I already search other questions in forum and it seems there were no solutions to my problem, so I am stuck. From card.raw i could ...
4
votes
1answer
1k views

pset6 - caesar - check50 error: "expected exit code 1, not 0"

I scored the web after an answer, found it, but still doesn't work. My caesar.py works fine, check50 shows me all happy faces except the last: :( handles lack of argv[1] expected exit code 1, not ...
0
votes
1answer
593 views

pset1 mario more

I just finished my mario pyramid, and tried myself, everything works. But in check50... :) mario.c exists. :) mario.c compiles. :) rejects a height of -1 :) handles a height of 0 correctly :( handles ...
0
votes
1answer
157 views

Pset 5 Program running fine but doesn't pass check50

This is my first time posting here, I tried everything I could think of but couldn't solve this issue. Would appreciate any help I can get. Thanks! I tried to implement a hash table to solve pset5. ...
0
votes
1answer
300 views

Caesar check50 fail

Just trying to finish the Caesar problem please see my code below: // INCLUDE THE APPROPRIATE LIBRARIES #include <math.h> #include <cs50.h> #include <stdio.h> #include <string.h&...
0
votes
1answer
253 views

pset6 - mario more - check50 EOF error

My pset6's mario-more Python implementation works fine. However, check50 is returns the following errors: :( handles a height of 0 correctly / did not find EOF :( handles a height of 23 ...
0
votes
1answer
607 views

GitHub username

What is the GitHub username? I am an edX user and when prompted for GitHub username for example by check50 or submit50, I don't know what credentials to input. My edX credentials do not work.
0
votes
1answer
878 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
352 views

Pset0 - Check50 returns no results

I submitted pset0 this morning and check50 is returning: Submit50 MurilloGuindani Cs50/2018/x/scratch There are no results to display. My account is linked but the courses section displays: "Not ...
0
votes
1answer
826 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
35 views

Check50 for find less tries to compile sort.c

the find and generate functions both compile and produce correct output. But when it comes to check50, I get this message: I go and check the URL provided that shows which commands were being run ...
0
votes
2answers
77 views

pset5 - check50 compiles the code, but does not produce any output

I have been wandering through the code and forums for couple of hours now and I will be glad if you point out what I am doing wrong. So, first of all, all checks I have made in the workspace passed. ...
0
votes
1answer
153 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 ...
0
votes
1answer
47 views

pset3 find code works, despite 'sort' failing

I'm very confused! I have spent many (MANY) hours working through this pset. I've gotten to the point where my code passes all check50 requirements for 'find', but it's failing the 'sort' ...
0
votes
1answer
67 views

pset5 max length check word misspelled AND in dictionary

So, I have struggled with this set for a long time and managed to answer many questions myself, but this one I don't even know where to look. The only test I fail is the max length, so I thought ...
0
votes
2answers
77 views

Recover - Code Generating images but failing check

Looked at some of the other posts on this issue. For me it seems like I'm taking the correct size of (not buffer pointer but actual buffer). Can't seem to figure out why this is failing check50. ...
0
votes
1answer
57 views

CS50 Fifteen Code working perfectly, but not approved by check50

I have tested the code myself, through 3x3.txt, 4x4.txt and everything seems to be working perfectly and stopping the game when it is won. But I can't seem to get it approved by cs50 check. I have ...
0
votes
1answer
830 views

caesar: expected prompt for input, found none

I got an error: " expected prompt for input, found none" but program works totally fine. What is it about? What did I do wrong? #include <stdio.h> #include <cs50.h> #include <stdlib.h&...
0
votes
1answer
125 views

cs50: pset 4: Recover. Check50 gives following error: 'expected exit code 0, not 1'

I have completed the task and can view the .jpg images but when I run check50 I get the following error message: :) recover.c exists. :( recover.c compiles. expected exit code 0, not 1 ...etc. When ...
0
votes
1answer
39 views

check50 failed on pset3 game of fifteen

When I run the command check50.... it reports several correct and some incorrect outputs. One of the examples: :( 3x3 board: move blank up twice did not find "8-7-0|5-4-6|2-1..." Log running ./...
0
votes
1answer
55 views

PSET2 initials.c Once again, appears to compile and run just fine, check50 fails me across the board

include #include <cs50.h> #include <string.h> int main(void) { //get user name through stdin printf("Please enter your name: "); int lastChar = 32; string a = get_string(...
0
votes
1answer
63 views

PSET1, credit.c compiles just fine, runs just fine. But when I use check50 everything goes to hell. Would love fresh eyes to look at my code

My code: #include <stdio.h> #include <cs50.h> int main(void) { long long i = 0; do { // read user input from stdin i = get_long_long("Enter credit card number: "); ...
0
votes
1answer
42 views

Not handling check50 test data

I've now sunk ~20 hours into recover, and still can't get my code to work on the check50 data. The issue I've seen on here that other people have been having was with checking the jpeg headers, but I ...
0
votes
1answer
36 views

check50 is being silly

The attached image is self-explanatory. Why does check50 not find any input request, yet the program clearly works as intended in the IDE? The code clearly shows that the program requests input. ...
0
votes
1answer
366 views

Recovers jpg correctly, but .jpg not found [Recover]

When running my code for recover (attached below) I'm bouncing back and forth between a segmentation fault and another error when running check50. My code runs without issue on card.raw But when I ...
0
votes
1answer
54 views

Resize doesnt compile and check 50 can't check my program

My program seems to resize correctly but when i compare headers it seems that there's a bug, i use check 50 and it says that resize.c doesnt compile and the rest of tests give me a yellow poker face ...
0
votes
1answer
904 views

CS50 Speller Pset5 - Comparing succeeds, Check50 fails and Valgrind succeeds

Comparing output with ~cs50/pset5/speller texts/austinpowers.txt returns successfully and valgrind works. I don't know why Check50 gives an error. I would appreciate some help please. Check50 NOW ...
0
votes
1answer
95 views

pset5 matches staff but won't work with valgrind/check50

So I've been testing speller and checked it with the staff solution and get matching outputs (click here for comparison). But when I run with valgrind every word is mispelled. valgrind --leak-...
1
vote
1answer
356 views

check50 -> uploading...server is offline

There is kind of wierd issue, few days ago i've checked pset2/initials with check50 and everything was normal at that time. Now I've prepared caesar.c, but something happened, and none of the programs ...
0
votes
1answer
92 views

cs50/2017/x/find/more says no results to display

I completed the pset3 find more comfortable exercise, my testings were fine, however when executing the check it forwards me to a html page and says no results to display... the instance is updated. ...
0
votes
1answer
495 views

recover -got all the pics recovered but ONE wrong in check50

I was able to recover the jpeg's (49 of them)...but running check50 shows ONE RED (wrong)..I've tried very hard to figure what went wrong...please help me find my mistake or please give an hint to ...
0
votes
1answer
248 views

Resize fails check50 when images and headers are identical

I have checked everything and searched everywhere for an answer. Both the images and headers were identical, but check50 gives me this: :) resize.c and bmp.h exist. :) resize.c compiles. :) doesn'...
0
votes
1answer
76 views

resize/less - testing with cs50/pset4/peek lits all green but check50 shows some error

I have tried many times to find the error but have failed to do so ... here is my resize/less code #include <stdio.h> #include <stdlib.h> #include "bmp.h" int main(int argc, char *argv[...
1
vote
1answer
171 views

PSET4 Recover produces JPGs, but passes CS50 check only partially

My PSET 4 Recover code is able to recover the 50 jpg's from the raw file. However, when checking the code with the check50 it only partially passes. I checked a lot other related issues on SE CS50 ...
0
votes
1answer
121 views

Pset 3 helpers.c check 50 errors

#include <cs50.h> #include <stdio.h> #include "helpers.h" //TODO binearysearch, om te controlere van de waarde. bool search(int value, int values[], int n) { int left = 0; int ...
0
votes
1answer
106 views

pset 3 fifteen check50 fails

Check50 keeps giving me these errors, I have checked log files to make sure output is correct, and running it myself gives correct output. I am completely stumped about why I am getting the following ...
0
votes
1answer
351 views

pset3/find check50 frown helpers.c compiles. expected exit code 0, not 1

When checking my find program with check50 I get a :( frown at the second check, which is: helpers.c compiles. expected exit code 0, not 1 The log file gives me additional info: running clang -...
0
votes
1answer
127 views

Pset5 Last frown to turn upside down!

I've been slogging away at speller for about 2 weeks now and im tripping over the last hurdle. heres what my check50 was spitting out https://cs50.me/checks/41dd8b60a432fa6adcd672274f3452ba6eedfda3 ...
0
votes
1answer
271 views

Having a problem with Check50 for Mario less

I have been getting an error from the check50 function for my Mario Less program. This is the reply from the check50 function. My codes work according to the specification and my own testings, so I'm ...
0
votes
1answer
63 views

Returning to cs50 2017

I have restarted doing cs50 from 2017 after 3 months away. Upon loading up the IDE, it requested an update which I allowed it to do. I'm going through my old problem sets as a refresher, but when I ...
0
votes
1answer
171 views

check50/submit50 broken?

I'm trying to run check50 and submit50 on vigenere.c and I keep getting this error message: Traceback (most recent call last): File "/opt/pyenv/versions/3.6.0/bin/check50", line 6, in <module>...
0
votes
1answer
415 views

Pset4 Recover - all 50 photos recovered but failed check50

I run my code and can see all 50 images, but check50 says: :) recover.c exists. :) recover.c compiles. :) handles lack of forensic image :) recovers 000.jpg correctly :( recovers middle images ...
0
votes
1answer
333 views

cs50x timeout on vigenere pset2

Has anyone encountered a timeout issue on pset2 (vigenere) as well for the last check during check50? I receive the following error: :( rejects "Hax0r2" as keyword timed out while waiting for ...
0
votes
1answer
100 views

PS3's Fifteen won't compile only during check50?

I have created my solution for pset3's problem "Fifteen". It compiles fine with the standard makefile in cs50's on-line terminal window, and runs correctly as well (also tested with the given 3x3 and ...
0
votes
1answer
223 views

pset2: initials - check50

First thank you all for taking the time to help! Working on more initials (more comfortable) and here's the problems: 1) From what I see the code gets correct results but check50 doesn't agree. Can ...
1
vote
1answer
123 views

Unable to use 'check50' and unable to get the bot email. Need authorization

I've tried revoking authorization from my gihub, re-authorizing CS50.me and still unable to get the bot email. Please help?
0
votes
1answer
308 views

Mario check50 timeout

I have a timeout problem when I'm checking the more comfortable version of mario app. When I'm running it by myself it works fine, but check50 returns time out in some cases, for example:" :( rejects ...
0
votes
1answer
214 views

Resize : please, i'm struggling to finish resize. There is something that I don't understand to pass check50

Please, help me to understand where should i focus because I spent so many hours on this..... i would love to finish it :) here message from check50 : :) resize.c and bmp.h exist. :) resize.c ...
1
vote
2answers
1k views

check50 says it's not authorized (it is)

Working on pset1 I have previously authorized my github for cs50.me. When I try to run check50 cs50/2017/x/hello, I get the error message "Looks like check50 isn't enabled for your account yet. Log ...
0
votes
1answer
588 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 ...

1
3 4
5
6 7
13