Questions tagged [fails-check50-but-works]

Filter by
Sorted by
Tagged with
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
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
91 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
113 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
380 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
45 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
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 ...
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