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

Who do I contact about check50 errors?

EDIT: There were no errors with check50; I missed part of the specification and couldn't tell the error from check50. Is there a specific contact I should forward these errors to? My code is clearly ...
0
votes
2answers
40 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
8 views

pset6 mario more - there is a extra line in my output how do i get rid of it

o = input("Height: ") if int(o) > 8 or int(o) <= 0: o = input("Height: ",end = "") i = int(o) for j in range (i + 1): # calculating number of spaces n ...
0
votes
1answer
22 views

pset4 recover.c last image does not match

I've doing recover.c from pset4. When I ran check50, all images except for the last one. I guess it's probably the problem of feof function. But I don't know how to edit my code to make it works //...
0
votes
1answer
22 views

speller: Testing myself works but check50 says it's producing no output

I have tried testing my code normally with the provided dictionaries and texts, and it seems to work, producing the expected results in a reasonable amount of time. However, when I use check50, it ...
0
votes
1answer
20 views

Check50 doesnt approve but code seems to work fine

PSET3 Plurality: Although the problem itself isn't tough to solve but Check50 simply doesn't like the way I wrote it. I've been trying to pass the tests since an hour or more but I can't figure out ...
0
votes
1answer
13 views

Pset 5- Output is correct but still cant pass check50

I am currently working on Pset5, Speller. My output seems to be identical with cs50's solution (mine is simply way slower), but I still can't pass check50, it simply shows a blank window for my output....
0
votes
1answer
23 views

Some values in my 'edges' don't pass check50

the rightmost values in the matrix in check50 is wrong but the other values are correct. I'm not really sure what's wrong. code: void edges(int height, int width, RGBTRIPLE image[height][width]) { ...
0
votes
1answer
32 views

Can you tell me my mistake? ;)

https://submit.cs50.io/check50/7e964137024d7b7d7c084ee2e266dada2ffb914c could anybody tell me what my mistakes are ? #include <stdio.h> #include <math.h> int main (void) { float dollar; ...
0
votes
1answer
35 views

Need help solving blur with c

Code: void blur(int height, int width, RGBTRIPLE image[height][width]) { //temporary image to swap RGBTRIPLE temp_img[height][width]; for (int g = 0; g < height; g++) { for (int h = 0; h < ...
0
votes
0answers
24 views

check50 is not working with pset4 filter

I've been trying to check problemset4 filter-less but check50 is not working The username and password is correct and I have visited submit.cs50.io as the message says and I was logged in there but ...
0
votes
1answer
52 views

pset 7 houses passes check 50 but shows the names 4 times

I have a really strange problem here: both import and rooster passes every check in check 50, but if I run Rooster the names on every house appear 4 times. I have no clue about why this is happening, ...
0
votes
1answer
20 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
2answers
43 views

Check50 all green but my own tests fail

I completed Runoff with 100% pass in check50 but when i do my own tests i get wrong winners. I checked everything to the best of my abilities but i just can't find the problem and it's driving me ...
0
votes
1answer
41 views

caesar pset 2 non-numeric key error even when it works well when i try it myself

Here is my code which works well even with non-numeric key. #include <stdio.h> #include <cs50.h> #include <stdlib.h> #include <ctype.h> #include <string.h> bool key_check(...
0
votes
1answer
48 views

Recover Week 4 Assignment--Code appears to work beautifully but check50 says no

My code works as I get all 0-49 images that look beautiful to me. After days of working on this, I really would appreciate any advice as to why the checker is saying my code failed the last three ...
0
votes
1answer
44 views

pset5 speller check50 error - code doens`t handle max length (45char)

i get this error from check50 and i can t figure out why...: :( handles max length (45-char) words expected "MISSPELLED WOR...", not "MISSPELLED WOR..." everything else is green (...
0
votes
1answer
37 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
0answers
13 views

I am getting 2 following errors on using check50 on my code. Can anyone help?

:( encrypts "This is CS50" as "Cbah ah KH50" using yukfrnlbavmwzteogxhcipjsqd as key output not valid ASCII text :( encrypts "This is CS50" as "Cbah ah KH50" ...
0
votes
1answer
20 views

cs50 grading specifications (2020)

I would like to ask a question about the grading system If an assignment is done, and it passes all the specifications given, does it mean that you get a 100%? I have submitted 2 problems (I am yet to ...
0
votes
0answers
25 views

My blur function doesn't pass check50

so I modified the code from last time, and it seems that instead of making copies of the image and calculating on them, takes the first if statement and makes it the new image so all the other values ...
0
votes
2answers
29 views

What's wrong with my code? Pset2 caesar (check)

So my code is working, but when I check, this error appears on all criphertexts. string plaintext = get_string("plaintext: "); printf("criphertext: "); for (int i = 0, len = ...
0
votes
1answer
43 views

Why check50 says my code is wrong?

I am doing the problem set 3 of CS50, called plurality. When I test my code, it gives me the right anwsers. In other words, it gives me the right winner of the election. If there are two or more ...
0
votes
1answer
50 views

pset4 Recover - seems to recover images correctly but fails check50

Working on pset4 - recover. The program compiles and runs and upon opening the images, they look alright. Check50 returns: :) recovers 000.jpg correctly :( recovers middle images correctly ...
0
votes
1answer
36 views

cs50 Pset 4 filter:Greyscale. Cade is not averaging correctly?

So I am a little stuck on the Greyscale protion of the Pset4. I have the code in place as follows... void grayscale(int height, int width, RGBTRIPLE image[height][width]) { for (int i = 0; i < ...
0
votes
1answer
21 views

check50 on recover pset 4 saying this what am i doing wrong

:) recover.c exists. :) recover.c compiles. :( handles lack of forensic image expected exit code 1, not 0 :) recovers 000.jpg correctly :) recovers middle images correctly :) recovers 049.jpg ...
0
votes
1answer
72 views

check50 problems caesar pset 2

0 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 ...
0
votes
1answer
59 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
0answers
18 views

Recover: Images actually duplicating

Edit: I checked the output and it turns out that I am getting duplicate images, can anyone help? So I finally finished Recover, and it works fantastically whenever I run it outside of check50. I ...
0
votes
1answer
66 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
1answer
55 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
3answers
196 views

pset3 plurality check50 invalid vote

So I have a few questions on Plurality check50 errors for this Pset: My Code is as follows: #include <cs50.h> #include <stdio.h> #include <string.h> #include <math.h> // Max ...
0
votes
0answers
34 views

check50 showing all okay for incomplete submission

Editing my question slightly. After uploading submission, check50 is only showing a smiley with "Finance submitted" (see screenshot below). My "progress" page is also showing ...
0
votes
3answers
41 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
31 views

PSET 5 Speller- all words misspelled + memory leaking issues :(

I've tried fixing this problem for a while now, but I can't seem to figure it out. There are two main issues I am having: Firstly whenever I try running my code "./speller texts/lalaland.txt"...
0
votes
1answer
92 views

Pset5 Speller - Valgrind displays no leaks but code fails check50

any help would be much appreciated - I've been trawling other questions similar to this one but all the adjustments I have tried to make don't seem to fix the check50 failure. The code seems to run ...
0
votes
3answers
108 views

Why So Many Check50 Errors on Caesar? Results match expected output

Of the 11 Check50 checks, only 4 check out correct but when I run the code with the Check50 inputs, my outputs match the expected outputs, so why so many errors? Here is a link to my Check50 results: ...
0
votes
1answer
41 views

Check50 Substitution error

I am able to execute the code with any errors. The solution(output) to the examples given in the problem set 2 match my solution and yet check50 shows there are a number of issues in the output. ...
0
votes
1answer
54 views

Pset3 runoff tabulation error

[![enter image description here][1]][1] I keep getting a tabulation error with check50 that I cannot replicate 11 voters, 4 candidates, 3 or 4 rounds of voting works fine with I run it, and debug50 ...
0
votes
1answer
34 views

Query related to Mario program(more) in CS50 pset1

I can't figure out the problem in my code, it successfully creates a pyramid but doesn't reprompt when value other than 1-8 is entered, also it gives a space before printing the pyramid, causing ...
0
votes
1answer
70 views

Readability check50 error

#include <stdio.h> #include <cs50.h> #include <string.h> #include <ctype.h> #include <math.h> // Letters detects letters // Words detects spaces // Sentences detects ...
1
vote
2answers
71 views

Unable to use check50/submit50 commands

I have installed the Linux subsystem, but I do not understand how to initialize it and also how to install the tools for the course on it. I am also thus unable to use the check50/submit50 command
0
votes
1answer
202 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
2answers
34 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
86 views

PSET4 Filter (more) Edge

I got some weird issue with my code! It compiles without any problems. All other filters work perfectly, and check50 shows no problems (no problem in edge according to check50). But, when i try edge ...
0
votes
1answer
61 views

My 'pset1 Mario more comfortable' is returning check50 errors whilst seemingly correct

I saw this question has been asked in multiple ways before but I believe I've checked answers and am still stumped as to the issue I have. The output for my pset1 Mario more comfortable appears to be ...
0
votes
1answer
53 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
2answers
107 views

pset4 recover works correctly but fails check50. (not a duplicate because i want to figure out why MY code does not work)

this is my code: #include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, char *argv[]) { // Check usage if (argc != 2) { return 1; } ...
0
votes
0answers
53 views

check50 keeps printing “Could not load basic/dict.” what might be the problem in the code?

// Implements a dictionary's functionality include include include include "dictionary.h" include include include // Number of buckets in hash table define N 120000 //maximum length of ...
0
votes
0answers
28 views

Pset4 Filter (more) compiles but fails almost all of check50 :(

Check50 link & code below All compiles but just can't get check50 right, I feel like there must be a common mistake between all of the functions as they all seem to get the first 3 lines of pixels ...

1
2 3 4 5
13