Questions tagged [fails-check50-but-works]

The tag has no usage guidance.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
76 views

Speller (PSET5) has output that is exactly the same as the staff's solution, but check50 returns many errors. What's happening?

My speller program (part of pset5) works well and the output exactly matches that of the staff's solution. However, when I run my program through check50, I still get several errors per their script: ...
0
votes
0answers
21 views

Pset4 filter(more) edge

I've read so many of the posts on this and also tried to use the codes mentioned on this forum but they all give incorrect values for the edge filter. I'm quite stumped so I decided to post on this. I ...
0
votes
0answers
50 views

lock_pairs skips final pair if it creates cycle

I have been working on the tideman problem from Problem Set 3. After multiple attempts, I have been able to pass all the required checks except one: "lock_pairs skips final pair if it creates ...
0
votes
1answer
75 views

pset4 filter blur

I have written the following code for blur . // Blur image void blur(int height, int width, RGBTRIPLE image[height][width]) { for ( int h=0 ; h<height ; h++) { for ( int w=0 ; ...
0
votes
1answer
56 views

hi, i tried to solve problem set 2 substitution. it gives right output but check50 is giving errors

include include include include include int main(int argc, string argv[]) { if (argc != 2) { printf("Usage: ./caesar key\n"); return 1; } int k = strlen(argv[1]); ...
0
votes
1answer
238 views

pset3 (runoff) check50 is giving an error for print_winner

I can't find what's wrong with my code but check50 keeps telling me :( print_winner prints name when someone has a majority print_winner did not print winner of election :( print_winner returns ...
0
votes
0answers
126 views

pset5 - program runs fine but check50 still fails

My speller code works fine, I've compare it with the staff solution with different texts and dictionaries and everything is exactly the same (words in dictionary, words misspelled, words in text) but ...
0
votes
2answers
249 views

My pset1 Water Code Works as per the Spec, but Doesn't Pass the Check50

so I am very new to this but I have written some code to complete the pset1 water task and it just won't pass through check50 2016.water water.c. I have put it below, I understand that it maybe all ...
0
votes
0answers
134 views

PSET4 recover not passing check50

I get the output of all 50 images which can be viewed but it fails all CS50 checks. :) recover.c exists :) recover.c compiles :) handles lack of forensic image :( recovers 000.jpg correctly :( ...
0
votes
0answers
93 views

Mario and Greedy programs can't pass the test

I will start talking about mario, because i can't see anything incorrect with it. So, here we go: This is my codeline: and here is some inputs/outputs (i believe it is working correctly): However, ...
0
votes
0answers
525 views

pset4 recover not passing check

My program seems to work. I recover 50 images and they all can be viewed. However, I get errors when I try to check it with check50. It says "Expecting an exit code of 0. ... but received the ...
0
votes
1answer
294 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 ...