Questions tagged [fails-check50-but-works]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

CS50P Little Professor - Error

Check50 is saying my code is wrong, but when I execute the code in terminal, it is correctly outputting all the parameters. def main(): n = get_level("Level: ") x = generate_integer(...
Rajeev Reddy's user avatar
0 votes
1 answer
76 views

pset5: Check50 fails for Speller but everything looks good

I wrote dictionary.c. It compiles. There are no issues with valgrind. It appears to run correctly (when comparing with answer keys). Everything looks good. But when I run Check50, it runs into issues ...
Conor O'Mahony's user avatar
0 votes
1 answer
53 views

Code for Good ol' Recover returns all fifty images (000-049), but doesn't pass Check50

I have gone through about 12 questions on the same issue - the code for recover works, but check50 isn't being kind: :) recover.c exists. :) recover.c compiles. :) handles lack of forensic image :) ...
Hamster1303's user avatar
0 votes
2 answers
783 views

CS50P, Problem Set 6, CS50 P-Shirt – what more does check50 need here?

I am working through CS50P, just finishing off Problem Set 6. The last problem in the set is entitled: CS50 P-Shirt. I can see that my shirt.py program creates images exactly as required, and it ...
Abaci's user avatar
  • 20
0 votes
2 answers
118 views

PSET 5 Speller Check50 Problem

I think I have done everything you're supposed to do in PSET5 Speller. when I manually check the outputs of my code, it works perfectly well. It matches the staff solutions one to one. Yet Check50 ...
dohaal's user avatar
  • 1
0 votes
1 answer
166 views

CS50p professor ( timed out while waiting for program to exit)

My program for CS50 works fine when i run it manually, but the Check50 is saying ":( Little Professor generates 10 problems before exiting timed out while waiting for program to exit" Im not ...
Nicole Horan's user avatar
0 votes
1 answer
102 views

CS50 Finance check50 giving 400 error despite working well

I have coded the CS50 Finance problem set and it seems to be working fine from my end. However, check50 throws a 400 error for Post request on /register. Even in the console, I don't see that error. ...
Shubham Gupta's user avatar
0 votes
0 answers
23 views

Pset3 Plurality Check50 claims code doesnt output the winner

I know there is a question similar to this one, but the code is quite different and the if statement is being used differently. I was going through my code for Pset 3 Plurality, and it behaves ...
Lambo-1's user avatar
0 votes
1 answer
69 views

PSET5 - SPELLER - Check50 only works locally

I am trying to run check50 on my version of speller. I worked for so long on this code. It was a battle every step of the way to get it to finally run. I finally seemingly got it today. My code works ...
ruscias's user avatar
0 votes
1 answer
151 views

Help with Pset3 Runoff check50

After a while i got runoff working but when i ran it through check50 there seem to be some errors but i just can't figure out what they are :) runoff.c exists :) runoff compiles :) vote returns true ...
Schmilp's user avatar
0 votes
1 answer
118 views

having problems with check50 in plurality

I seem to have a working program but whenever i run Check50 it gives me all green except for two of the lines which for some reason don't seem to think it works. #include <cs50.h> #include <...
Schmilp's user avatar
0 votes
4 answers
326 views

PSET5 Speller: Check50 Can't Compile: Exit code 2 vs 0

At my wit's end here. I've seen this question asked before, but I haven't really found an answer. My speller program compiles perfectly fine in the VS Code workspace. It generates the same results as ...
Steedy Speve's user avatar
0 votes
3 answers
2k views

cs50p problemset 7 /working.py

mo code works fine and passes al teat in test_working.py but i dont know why i get this error :) working.py and test_working.py exist :) working.py does not import libraries other than sys and re :) ...
Ehsan_hrz's user avatar
0 votes
1 answer
15 views

PSET1 Mario -The code builds the pyramid visually but getting errors with check50. Need help understanding

#include <stdio.h> #include <cs50.h> int main (void) { //Get input of height from user int n; do { n = get_int("How high should the pyramid be? "); } ...
Sastri Rampersaud's user avatar
0 votes
2 answers
222 views

check50 giving wrong output pset2 caesar

my code is giving output as expected but check50 says wrong output. here is my code and check50 log. #include <stdio.h> #include<cs50.h> #include<ctype.h> #include<string.h> #...
user35553's user avatar
0 votes
2 answers
106 views

check50 says i have no output on pset2 substitution, but my code does output correctly

On my end my code seems to output exactly what check50 wants, yet it says that ive outputted nothing. e.g :( encrypts "A" as "Z" using ZYXWVUTSRQPONMLKJIHGFEDCBA as key Cause ...
Leo8479500282664829200's user avatar
0 votes
1 answer
48 views

pset2: Check50 on Substitution problem fails when output is the exact same

I've been working on the CS50 Substitution problem and I have submitted it. When I submit it, it checks off the standards about compiling and about errors in the key. However, all the other values it ...
Preston So's user avatar
0 votes
1 answer
161 views

Pset4 Filter edges - seems to work but does not get approved

The output looks correct. I manually calculated the values for one single pixel and printed out the calculated values in the function using printf() and the values were almost the same, with a slight ...
пaean's user avatar
  • 5
0 votes
1 answer
466 views

CS50 blur filter failed 3x3 and 4x4

I created a for loop checking each pixel around the one to be blurred. If the pixel was in range, its RGB values would be added to a total variable to then be averaged. My program works for all ...
Amie's user avatar
  • 3
0 votes
1 answer
31 views

In Recover, when I run check50, it says timed out while waiting for program to exit. But when I run it with ./recover card.raw, it works perfectly

#include <stdio.h> #include <stdlib.h> #include <stdint.h> typedef uint8_t BYTE; int check_jpg(BYTE array[]); int main(int argc, char *argv[]) { if(argc != 2) { ...
Sachit Bansal's user avatar
0 votes
1 answer
290 views

Pset4 Filter sepia error from check50

below is my code for Pset4 filter(less). the code compiles fine, but I was getting these errors from check50. really appreciate if anyone can help. thanks :( sepia correctly filters single pixel ...
YMeng's user avatar
  • 23
0 votes
1 answer
56 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 ...
Schmorris's user avatar
0 votes
1 answer
179 views

Output in Speller.c seems to match the staff solutions, but cannot seem to pass check50

This is what I happen to get when I run check50, which is weird, because when I do manual tests, I seem to match the keys. Other posts make me think this might be an issue of using the incorrect slug? ...
Summer Ng's user avatar
0 votes
1 answer
19 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 ...
Robert S. Pratt's user avatar
0 votes
2 answers
57 views

pset1/credit outputs the right output but fails check

I'll share the printing part but not the calculation part, though happy to do that to it's just a bit lengthy. Nonetheless marked outputs are the right/expected output when run stand-alone but fails ...
nemethv's user avatar
0 votes
1 answer
132 views

Pset4 Reflection Less Comfortable - Check50 Errors

Hello CS50 community, my question is about the reflection filter (less comfortable): I have compiled a code that is reflecting (YEAH!) but there seems to be the following errors when checking: *:) ...
SirenLu's user avatar
  • 17
0 votes
1 answer
27 views

Program compiles and produces required output in caesar from CS50 but segmentation fault due to lack of memory. What to do next?

My program compiles and produces the required ciphertext in caesar problem but when the input has too many characters, I get a segmentation fault after a specific number of ciphertext characters are ...
Sanidhya Vijay's user avatar
0 votes
1 answer
105 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 ...
AJ-Williams1's user avatar
0 votes
1 answer
34 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 ...
Samarth's user avatar
0 votes
1 answer
58 views

Pset 7 Houses: Import seems to work but check50 doesn´t agree

I am confuse with this one: The program doesn´t return any error when I run it and if I go to the students table the names are there, but check50 says it imports "[]". Am I at least close to ...
Alejandro Sánchez's user avatar
0 votes
1 answer
50 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(...
FoundABetterName's user avatar
0 votes
2 answers
115 views

check50 for plurality

Every example I try myself works perfectly fine but once I check50 it, I get error messages for not printing one,two, or all three winners. I saw some people having format issues with spaces, but I ...
maxilau's user avatar
1 vote
1 answer
375 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 ...
rdauncey's user avatar
0 votes
1 answer
129 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 ; ...
MWD's user avatar
  • 86
1 vote
1 answer
180 views

Speller (PSET5) has output that is exactly the same as the staff's solution, but check50 returns many errors. What's happening?

My speller program (part of pset5) works well and the output exactly matches that of the staff's solution. However, when I run my program through check50, I still get several errors per their script: ...
Santiago Pérez's user avatar
0 votes
1 answer
209 views

PSET6 DNA - I passed every test it wanted me to do, but I got 42% after submitting?

I completed the DNA problem on pset6. There is a series of tests you need to enter into the command line before you submit, and I did all of them and passed every single one (as shown below). However, ...
flashwingfelix's user avatar
1 vote
1 answer
194 views

Check50 for caesar, pset2 returns an error "Not valid ASCII text" twice, even though it encrypts correctly for the same text used in check50

Okay, the code is given below (forgive me if there are too many comments!!). Please help!! Code: //the objective of the program is to create a simple encryption of the text inputted by the user with ...
AwesomeRAG7's user avatar
0 votes
1 answer
122 views

hi, i tried to solve problem set 2 substitution. it gives right output but check50 is giving errors

include include include include include int main(int argc, string argv[]) { if (argc != 2) { printf("Usage: ./caesar key\n"); return 1; } int k = strlen(argv[1]); ...
Anum Rehman's user avatar
0 votes
1 answer
70 views

Failing miserably on check50 and valgring, even though all my answers match exactly the staffs' keys

I don't know why my code is falling on check50! It seems like it is blowing the time limit. Is it possible? I ran my program with many texts, and the results always match the staff's key. Can ...
Maria Eduarda Silveira's user avatar
0 votes
1 answer
334 views

pset3 (runoff) check50 is giving an error for print_winner

I can't find what's wrong with my code but check50 keeps telling me :( print_winner prints name when someone has a majority print_winner did not print winner of election :( print_winner returns ...
sjaakieplof2014's user avatar
0 votes
1 answer
20 views

Caesar Working as Expected - Check50 glitched?

So my Caesar is finally working and working as expected but after submitting it check50 is not giving me score for it
yoyo Ahmed's user avatar
0 votes
1 answer
63 views

:( /check route confirms whether username is available PSET8

:( /check route confirms whether username is available route did not return true when username is available Log sending GET request to /check?username=check50student1 checking that status code 200 is ...
Talim's user avatar
  • 17
0 votes
1 answer
444 views

pset 8 finance: ":( buy handles valid purchase" fails

I`am bug fixing my application and can't find a solution for the ":( buy handles valid purchase" test. Here is Log: expected to find "112.00" in page, but it wasn't found Log sending POST ...
Dawienchi's user avatar
0 votes
1 answer
1k views

PSET 6: Sentimental [Mario.py(less)]: How exactly do I "reject input" in Python as specified in check50?

this is my first time posting on here and I'm trying to not break any rules but sorry if I do. So, I followed the specification to make mario.py ( they are the same ones for mario.c ) in Sentimental ...
AutodidAce's user avatar
1 vote
1 answer
869 views

pset8 finance check50 fails on "checking that "56.00" is in page" even though it is in the page

My sell function redirects to index, and I am able to see the correct stock prices and total value amounts formatted as USD, but for some reason check50 won't pass me on the final test (https://cs50....
ian_b's user avatar
  • 13
1 vote
2 answers
626 views

PSET8: Finance - "check50 ran into an error while running checks!" Contact [email protected] with the URL of this check!

While checking my code for PSET8 (Finance) with check50 I ran into the error "check50 ran into an error while running checks!" and with a note in the end stating "Contact [email protected] ...
ax-ab's user avatar
  • 11
0 votes
1 answer
132 views

pset1 - credit fails check50 compilation with “expected exit code 0, not 1” but compiles locally

My solution for "credit" compiles just fine with make, but when using check50, I get :( credit.c compiles. expected exit code 0, not 1 My code is as follows: #include <stdio.h> #include &...
Tim's user avatar
  • 103
0 votes
1 answer
204 views

pset4 recover - my implementation recovers 50 jpegs but check50 rejects

I am having trouble with recover from pset4 - when I run it, it creates 50 images, apparently correctly formatted (000.jpg-049.jpg). However, check50 rejects it: :) recover.c exists. :) recover.c ...
turgid_secretion's user avatar
0 votes
1 answer
367 views

PSET7: Finance: check50 errors

I have implemented all pages except the default homepage. Every functionality is working fine. But, check50 shows some errors which never goes. I don't know which frown is turning upside down. Help ...
pankaj's user avatar
  • 111
0 votes
1 answer
90 views

Errors while check50 in Pset1 mario less, expecting suggestions

I am getting following errors with check50. Need help to understand which part of my code cant handle these situations. :( handles a height of 1 correctly expected "##\n", not "" :( ...
Gallilio's user avatar