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
2answers
140 views

check50 pset2 cs50 2017

I ran the check50 command on the terminal window for my program caesar pset2 but I am unable to understand the error message in red as follows : :) caesar.c exists :) caesar.c compiles :( encrypts "a"...
0
votes
1answer
128 views

Recover works but doesnt pass the check50... any ideas?

The code recovers the images but it doesn't pass the check and I can't figured out why yet... any ideas? Thank you! int main(void) { //declare a buffer array typedef uint8_t BYTE; BYTE ...
1
vote
1answer
771 views

Why is my lab1 code failing to pass one test in check50?

First, let me share my code: int main(void) { int x = 1, y, n = 0, year; do { x = get_int("Enter the starting population size: "); // TODO: Prompt for start size } ...
-1
votes
1answer
14 views

PSET4 - Filter(more)- Edges- Check50 error

#include"helpers.h" #include <math.h> int check_cap(int num); void edges(int height, int width, RGBTRIPLE image[height][width]) { RGBTRIPLE image_copy[...
0
votes
1answer
26 views

I keep getting the following error when I use the Check50

You seem to be missing these required files: mario.c You are currently in: ~, did you perhaps intend another directory?
0
votes
1answer
103 views

game of fiteen shows errors in check50

guys my game of fifteen is showing errors in check50 please help here's my pastebin link http://pastebin.com/TgA030A5 check50 2015.fall.pset3.fifteen fifteen.c :) fifteen.c exists :) fifteen.c ...
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
571 views

pset6 check50 doesn't pass for possessives and substrings properly

I probably almost got my pset6 working. When I run the check50 on it, it says: :( handles possessives properly \ expected output, not standard error of "/opt/sandbox50/bin/run.sh: line 31: 184..." ...
0
votes
2answers
725 views

pset5 :( speller compiles expected exit code 0, not 2

I was able to compile speller locally, but I keep failing check50. When I run my program I get the same output as the staff solution and it does not leak any memory. I have not altered speller.c or ...
0
votes
1answer
40 views

Check50 giving different results from the code I compiled in pset1

For Problem Set 1, I have the code as written below #include <cs50.h> #include <stdio.h> int card_length(long cNo); void luhn_algo(long lacno, int lacnolen); void finalPrint(int cardDet);...
0
votes
1answer
28 views

Check50 problem with Readability

When I submit my readability code check50 says: Expected Output: Before Grade 1 Actual Output: Before Grade 1 Expected Output: Grade 16+ Actual Output: Grade 16+ Since my program outputs what is ...
0
votes
1answer
63 views

Having problems producung the correct result using the text extracts provided by CS%). I cant see where it goes wrong when finding the correct grade

CODE: #include <cs50.h> #include <stdio.h> #include <ctype.h> #include <string.h> #include <math.h> int main(void) { // DECLARE LETTER, WORD & SENTENCE COUNT int ...
0
votes
1answer
26 views

Can't check CAESAR pset2

I solved the Caesar problem and it works flawlessly. But I can not check it properly. The results are correct but ''' check50 cs50/problems/2021/x/caesar ''' says it is incorrect. If I view the ...
0
votes
1answer
45 views

the code which is expected and my actual code are the same but check50 see it as incorrect LAB1

#include <cs50.h> #include <stdio.h> int main(void) { // TODO: prompt for the start size int n; do { n = get_int("start size: "); } ...
0
votes
1answer
104 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
0answers
21 views

How do you check if a value is fractional? HEAR ME OUT FIRST

This is from cs50 finance: Text: :( buy handles fractional, negative, and non-numeric shares Cause application raised an exception (see the log for more details) Log sending POST request to /login ...
0
votes
0answers
18 views

The predefined login function psets/9/finance error

Have a problem with check50. I'm able to register, log in and all but check50 keeps denying it (the login part): :) application.py exists checking that application.py exists... :) application ...
0
votes
2answers
792 views

pset7 - Houses problem with check50

I'm running into some issue with check50. I know it's been ask before but the answer of some other topic do not apply to me. I re-do both files but still getting the same output. This is my output ...
0
votes
1answer
61 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
32 views

Speller Works on all .txt files, but FAILS Check50

My Speller function works on all the .txt files provided with the keys. I even made a .txt containing the large dictionary and all the words are spelled correctly. However, when I go to use Check50 ...
0
votes
1answer
172 views

can someone explain why i get this error code

~/pset1/ $ check50 cs50/problems/2020/x/mario/less Connecting..... Authenticating.... GitHub username: william ******** GitHub password: ******** Verifying.... Make sure your username and/or password ...
0
votes
1answer
47 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
1answer
125 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
2answers
230 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
129 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
3answers
908 views

Pset7 Finance Register - Works fine but error in check50

I'm struggeling with this bug for several days now and don't know how to fix it. I didn't find an answer in all the previous questions. Except my personal touch I finished pset7. If I start flask ...
0
votes
3answers
532 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
25 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
37 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
718 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
42 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
2answers
334 views

PSET 7 movies 5.sql check50 not giving the actual output correctly

the check50 output doesn't match sqlite3 output. the code runs and outputs 10 rows in sqlite3 and DBsqlite but check50 output is different.
0
votes
1answer
39 views

Check50 says buy allows fractional, negative numbers but it doesn't. Where am I going wrong?

I'm down to my last check50 frown (:( buy handles fractional, negative, and non-numeric shares expected status code 400, but got 200) but my code doesn't allow for these, so I don't know what to do. ...
0
votes
0answers
15 views

Readability Pset2 - check50 multiple test fail

This is the code for readability problem set 2. The code is working but not properly as it's failing test cases. the output grade is either +-1 from the expected result. Is there something wrong while ...
0
votes
1answer
78 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
42 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
33 views

problem with credit with this numbers (369421438430814 & 5673598276138003)

I just finished solving the credit problem and regularly used check50 to see my results, and then this happened. check50 sees that these numbers : 369421438430814 5673598276138003 are invalid, even ...
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
46 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
85 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
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
0answers
22 views

Week9, Finance " :| logging in as registered user succeeds "

I would like to ask for your help please with an error I keep getting on my code for the week 9 Finance. I have been receiving :| logging in as registered user succceeds can't check until a frown ...
0
votes
0answers
31 views

" can't check until a frown turns upside down " annoys me (Finance, week9)

I got like this: :| quote page has all required elements can't check until a frown turns upside down :| quote handles invalid ticker symbol can't check until a frown turns upside down :| quote ...
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
46 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
47 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
46 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
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/...

1
2 3 4 5
13