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

pset3 runoff print_winner check50 error

So I have seen this issue mentioned here before and the others have suggested that printing a newline after the name is the solution. However, my code does print a newline and in my tests, I'm getting ...
0
votes
1answer
113 views

CS50x Problem Set 4 Blur Function Issue. Does not work on 3x3 or 4x4 image

For some reason, my CS50 pset4 blur function is not returning the proper pixel values for a 3x3 or a 4x4 image. It passes the other check50 tests. I looked at the check50 output, and my code gets the ...
0
votes
2answers
128 views

Finance Check50

I completed Finance and everything seems to be working for me but when I use check50 it gives error. https://submit.cs50.io/check50/9d1a3517645a1207b1792d521c920386d586caf0 As you can see it shows ...
0
votes
1answer
42 views

How to get my code to re-prompt when given a non numeric input?

So my code in C for the mario steps is correct except that it shows an output when foo is input rather than re-prompting for a valid integer. I did check50 and this was the only error. Where can I ...
0
votes
3answers
524 views

check50 is getting a different result from me on mario

I have tested every criterion of Mario, and they all are met, but check50 is getting a different output than me. Here is a transcript of what happened. elephant1123@ide50:~/workspace/pset1 $ ./mario ...
0
votes
1answer
23 views

Help to finish my problem - Check50 - Pset4 - Filter Less

I am coding the sepia filter, it is already working, but it does not pass the check50. I think of according to the check50 report, that there is some problem of precision in the calculations, but I ...
0
votes
1answer
36 views

Check50 error in pset4 recover exercise

I have the following problem, I finished the exercise "recover" in pset 4 and all the recovered images are fine (check them one by one), but the tool "check50" tells me that the program does not ...
0
votes
1answer
688 views

problem set 2 caesar check :( handles non-numeric key timed out while waiting for program to exit

I have gotten my code to work for the caesar problem in problem set 2. However, when i check through check50 I run into this error: :( handles non-numeric key timed out while waiting for program ...
0
votes
1answer
41 views

pset3 binary search , shows errors in check50

i don't understand acc. to the algorithm it should work correctly , but it doesn't
0
votes
1answer
53 views

problem with resize cs50check giving out red errors in some test

the program is working correctly resizes perfectly (atleast i think) but cs50 check gives out an error on todos on some test please guide https://sandbox.cs50.net/checks/...
0
votes
1answer
30 views

pset4 filter. Blur image compiles goed but does'nt pass the check50 lots of error

The code in helpers.c all images compiles exept for the Blur image it compiles without any errors. But doesn't pass the cs50 check? any suggestions only the Blur image section. Thanks // Blur ...
0
votes
1answer
70 views

My runoff problem doesn't pass check50

when I run check50 this is the message I get and I don't know what to fix :( tabulate counts votes when all candidates remain in election tabulate function did not produce correct vote totals :( ...
0
votes
1answer
43 views

vigenere output

Ok. I've been working on this for two days now and have checked various types of answers on here, but I'm not sure what's wrong with my code. I think maybe I need a fresh pair of eyes, or my equation ...
0
votes
2answers
37 views

mario more comfortable; “can't check until a frown turns upside down”

[EDIT: Code removed for Honor Code compliance.] The code seems to be running perfectly fine and gives the correct output But every time i try to check it, i get this: :) mario.c exists :( mario.c ...
0
votes
1answer
39 views

Valid output decreed as invalid by check50?

I am having trouble with check50 in pset1 more mario. Below as follows is my code, it works. Yet, for some reason it is invalid. I know it is wrong to post my entire code but I am stumped. #include &...
1
vote
1answer
45 views

ps3 Move, check50, illegal move are moving? help please

Please, I spent so many hours on this and I can't find the mistake I am doing. From the start, there are some numbers still move when they are illegal move. See description from check50: :( 3x3 ...
0
votes
1answer
66 views

PSET4 Recover Passes Check50 but throws Seg Fault

Last night, recover.c worked fine. Today, it compiles and, after I run ./recover, promptly throws a seg fault. At times, it has claimed it cannot open "card.raw" though the syntax is perfect. For fun,...
0
votes
1answer
69 views

Pset 7 - check50 error on buy

Almost finished Pset7 but I'm getting an error on Check50 that I don't understand. The log file says: :( buy handles valid purchase Log sending POST request to /login sending POST request to /buy ...
0
votes
1answer
44 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
45 views

Why is all my check50 server2 red?

Below are my parse() and lookup() functions for server.c pset6. I have gone over and over but maybe I didn't understand what lookup does. Any help is highly welcome and appreciated. My check50 for ...
0
votes
1answer
45 views

Can you tell me my mistake? ;)

Could anybody tell me what my mistakes are ? #include <stdio.h> #include <math.h> int main (void) { float dollar; do { dollar=get_float("Enter your ...
0
votes
1answer
45 views

Does anyone know how to fix this problem?

this error is in every check50 test. Conditional jump or move depends on uninitialised value(s): (file: dictionary.c, line: 92) Conditional jump or move depends on uninitialised value(s): (file: ...
0
votes
1answer
58 views

pset3 check receives standard error from init()

The game compiles and runs, passing all the other tests in check50 when entered manually, but on the step for testing init, check50 fails. Here's the check50 output: https://sandbox.cs50.net/checks/...
2
votes
1answer
169 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 ...
0
votes
1answer
72 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 ...
0
votes
1answer
1k views

Speller seems to be working but fails check50. (PSET5)

so currently my speller seems to be working, it matches the staff solution with the austinpowers.txt (correctly identifies that 644 words have been misspelled & works when using a small dictionary ...
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
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
1answer
126 views

Why check50 is not evaluating true when my programme is corectly responding to all the asked questions?

When i run check50 it shows everything in red and when i open the given link it shows the below image. I have removed the printf commands also but still then it is showing the same problem. someone ...
1
vote
2answers
131 views

water.c exists but does not compile

![ My code works but it is not compiling. I ran check50 and it says that water.c exists :) but does not compile. I'm struggling to understand why.]1
0
votes
1answer
62 views

Check50 error specification?

So :) dictionary.c, dictionary.h, Makefile exist :( speller compiles \ expected output, not standard error of "dictionary.o: In function `check':\n/va..." The code is working (not as fast ...
0
votes
1answer
97 views

game of fiteen doubts in code and in check50

have a look at my game of fifteen code at: http://pastebin.com/gpZnkTPp it is showing errors in check50 , but i don't know what's wrong with my code check50 2015.fall.pset3.fifteen fifteen.c :) ...
0
votes
1answer
341 views

dictionary check50 returns \ expected output, not standard error of “/opt/sandbox50/bin/run.sh: line 31: 102…”

My dictionary implementation appears to work as my program's output matches the staff exactly. Check50 is giving me the error below for every check starting with handles most basic words \ ...
0
votes
1answer
627 views

pset7 finance register function check 50

after I run check50 I get following comments: Below are my code for register: @app.route("/register", methods=["GET", "POST"]) def register(): """Register user""" session.clear() if request.method =...
0
votes
1answer
392 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 ...
0
votes
1answer
77 views

in pset3 error while performing check50

when i use check50....it is showing error in helper.c but i didn't find any error in source codes of programs or helper.c i wrote programs for generate.c and find.c but they didnt gave any errors i ...
0
votes
1answer
191 views

check50 is happy with pest6, but my grade is less than 1

My server.c works just fine, and it passes both checkpoints with check50 (there are 2 for this pset), but for some reason my grade is only 0.42, and for all the points of the second (final) checkpoint ...
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 ...
0
votes
1answer
76 views

check50 in pset2

I won't post my code, because, as far as I could tell, it works fine, but I keep on getting this when I run check50 and I don't know know exactly what it means or how to fix it. My code runs perfectly ...
0
votes
2answers
384 views

Check50, Game of Fifteen. Timed out while waiting for “Illegal move”

I've finished working on my pset3 game of fifteen. After consulting Check50, it keeps telling me that: timed out while waiting for "Illegal move." Can someone explain this to me? Don't know what to do....
2
votes
1answer
151 views

check50 error: CERT_HAS_EXPIRED

I'm using check50 to check my linear search algorithm in pset3, and it doesn't seem to be uploading or checking at all. Instead I get the message: Uploading.. CERT_HAS_EXPIRED and the second time: ...
0
votes
1answer
274 views

2 check50 error pset5

No sure where the problem is : https://sandbox.cs50.net/checks/58b8a6fbbc464ad88eb9e8ac9ba16d37 :) dictionary.c, dictionary.h, Makefile exist :) speller compiles :( handles most basic words properly ...
0
votes
1answer
254 views

Why does “compiles” fail when checking with check50?

In the instructions, they were using Dropbox. I don't have Dropbox, so what should I do? update: Now I got my way through until the actual check. The 'exist' part is green (yay) but the compile part ...
1
vote
1answer
172 views

Initials and Vigenere pass CS50 but received 0 in Gradebook

I submitted pset2 after completing all programs, manually checking for correct functionality and ensuring all programs passed check50. However, I received 0 on both initials and vigenere. I waited 2 ...
0
votes
1answer
206 views

Failed to parse caesar.c

I am doing problem set 2 and i am getting the error Failed to parse caesar.c. The code passes all steps in check50 but no matter how I reformat the lines I cannot get it to work. I don't want to ...
1
vote
2answers
34 views

PSET 5 SPELLER - Passing Valgrind but not Check50

I am very close to solving this, my code is returning 0 errors from Valgrind when I run that on its own, but its not passing the memory errors parameter in check50, so I'm very confused. Any help ...
0
votes
1answer
85 views

pset4 Filter (more) Edge Detection help

void edges(int height, int width, RGBTRIPLE image[height][width]) { RGBTRIPLE copy[height][width]; for (int i = 0; i < height; i++) { for (int j = 0; j < width; j++) {...
0
votes
1answer
98 views

pset3 binary search , problems with check50

i have tried a lot but cannot find the meaning of the last two errors of check50 please help
0
votes
3answers
46 views

Even though I get correct output check50 shows error in pset3 plurality problem

#include <cs50.h> #include <stdio.h> #include <string.h> // Max number of candidates #define MAX 9 // Candidates have name and vote count typedef struct { string name; int ...
0
votes
1answer
119 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 ...

1
2 3 4 5
13