Questions tagged [fails-check50-but-works]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
105 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
146 views

pset5 speller works, check50 fails, segfault with small dictionary

I've finally got my speller to work for the large dictionary and the given texts. Valgrind doesn't give any errors anymore. However, check50 fails, because the 'actual output' received there does not ...
0
votes
0answers
127 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
1answer
119 views

pset3 fifteen check50 error [duplicate]

Can someone help me understand what's going on with my code? check50 keeps telling me "can't check until a frown turns upside down" even though the code compiles correctly. I don't know what this ...
0
votes
1answer
70 views

mario pset1 check50 has errors, but seems fine to me. No?

Guys, now the check50 is working, but shows me a few errors as you can see on the pic, on height number 1, 2, 23, and 24. And the output seems fine to me, as in according to the specs. (On the pics ...
0
votes
2answers
250 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
1answer
47 views

PSET4 Resize failing staff check but images appear normal

I've browsed through the other solutions to this problem but I couldn't find why mine code isn't working. I compared my header output to a staff solution and it was the same, as well as the size of ...
0
votes
1answer
330 views

Pset2, Vigenere error “\ expected output, not a prompt for input” when I run check50

I get this error when I run check50 ~/workspace/pset2/ $ check50 2016.vigenere vigenere.c :) vigenere.c exists :) vigenere.c compiles :( encrypts "a" as "a" using "a" as keyword \ expected output, ...
0
votes
1answer
111 views

PSET4 recover.c recover 50 photos but couldn't pass check 50

I finished recover.c and it recover all 50 photos but couldn't pass check50. I checked with valgrind and it seemed that i have no errors of memory allocation. I already searched for answers and ...
0
votes
1answer
136 views

PSET4 Resize: image resizes but fails check50 (PADDING or HEADER???)

I thought I was confused before I had this "clarification": check50 gives confusing results for pset4 resize. Now I'm flat out lost. For this challenge I actually tried to use a function to hold all ...
0
votes
0answers
94 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
1answer
68 views

cs50/pset2/vigenere: Code works but check50 rejects 1 item

error message: rejects https://sandbox.cs50.net/checks/742ebfdf355b45d594e8f23047837f51 #include <cs50.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include ...
0
votes
1answer
92 views

check50 error message: I'm not sure what is wrong with my mario code here

the error I keep getting says: :( handles a height of 0 correctly \ expected an exit code of 0, not output of "Type an int between 1 and 23 to build M..." however, if user types a 0, my loop ...
0
votes
1answer
119 views

PSet3 Find passing my testing but failing check50

I'm working on linear search. When I test manually, it works correctly, and "echo $?" will show a 0 and 1 as expected. I have tried it with piped-in data sets, with the 127 and 128 examples from the ...
0
votes
1answer
100 views

( pset2.hacker_edtiion.initials.c ) check50 problem?

check50 says i have an error but i have no idea why it is saying that, when i run the program with the same input as check50 the output is correct. Any ideas ? code #include <stdio.h> #include ...
0
votes
1answer
393 views

Pset 6 server.c, Check50 does not work

I have been working on server.c in Problem Set 6, and it seems to work. I think it runs the server, but for some reason the second Check50 fails. When I run it, I get: :) server.c exists :) server ...
0
votes
1answer
114 views

Doesn't pass the last test

When I try my code on Check50, it says it doesn't recover the last file correctly, because it's "Checking for file 015.jpg.". The last file is 050.jpg, and it even says so in cdn.cs50.net/2016/x/...
0
votes
1answer
282 views

Pset6 Server runs fine but check50 fails

My Server runs fine when I use it, I have also resolved the valgrind issues so there are no memory leaks as well. However my check50 fails on the second test, I see a few errors. I sometimes also ...
0
votes
1answer
381 views

PSET3 check 50 error on init()

I am using the cs50 2015 code template and my code gives the correct output on my system but gives a check50 error :) fifteen.c exists :) fifteen.c compiles :( init initializes 3x3 board correctly ...
0
votes
1answer
46 views

pset5 Mispellings output looks correct but check50 disagrees

Think I've managed to get everything to work. The program compiles and loads large or small dictionaries and finds misspelled words in various text files. I diffed the output of my speller with ...
0
votes
0answers
526 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 ...
1
vote
1answer
654 views

pset3 fifteen not passing check50 but works

I am working on the game of fifteen on pset3. The code runs fine on my computer but fails check50. I have stepped through it in gdb and can not find what check50 is talking about. The two tests it is ...

1
2