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
1 answer
16 views

Solved: Little Professor claims my program doesn't output a score in the end

So every other check50 test passes, but for some reason not thr one with scire and I can't understand why. My code: import random def main(): i=0 lvl=get_level() correct=0 while(i<10): ...
user avatar
0 votes
0 answers
6 views

error with check50

menu = { "Baja Taco": 4.00, "Burrito": 7.50, "Bowl": 8.50, "Nachos": 11.00, "Quesadilla": 8.50, "Super Burrito": 8.50, "Super ...
user avatar
  • 1
-1 votes
1 answer
17 views

terminal isnt working

My terminal started to look like this. I am unable to use check50 or submit50 and cant change directory.
user avatar
0 votes
1 answer
109 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 :) ...
user avatar
0 votes
0 answers
26 views

CS50P PSET4: Little Professor timed out

I'm solving this problem. My code works when I test it but it is failing check50 with the error :( Little Professor accepts valid level // timed out while waiting for program to exit Here is my code: ...
user avatar
  • 1
0 votes
1 answer
64 views

CS 50 Pset 1 cash: non-void function does not return a value

I have finish a program and it can run smoothly on other platform like replit... But one I run it on vs code it shows the following error and it also have something weird happen when I run check 50 ...
user avatar
0 votes
2 answers
155 views

:( Little Professor generates 10 problems before exiting

hi i am solving this question >> https://cs50.harvard.edu/python/2022/psets/4/professor/ my code is 100% correct. i have tested it several times but check50 is not able to pass all the tests. ...
user avatar
0 votes
1 answer
71 views

check50 issue on Problem Set 1: cash [duplicate]

I have finish my cash homework enter link description here But I face an issue that I can't check it even when I run the program successfully. My code is as below: #include <stdio.h> #...
user avatar
0 votes
2 answers
41 views

speller seg fault

I have been on this for literal days, there is always a seg fault no matter what i do things i have tried: debug 50: MULTIPLE TIMES, i fix the errors i find but end up with another one soon after, ...
user avatar
  • 5
0 votes
2 answers
37 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 ...
user avatar
0 votes
0 answers
27 views

pset9 Finance Check50 bot says submission button not found

I have completed my application for pset9 and have all functions working properly, however check50 doesn't agree with my register implementation. Apparently, I do not have a submission button, however ...
user avatar
1 vote
1 answer
108 views

Check50 and style50 not working: pset1

I am getting this error when I am trying to use check50 or style50. Please help me with this. hello/ $ hello/ $ check50 cs50/problems/2022/x/hello Traceback (most recent call last): File "/usr/...
user avatar
0 votes
1 answer
32 views

Problem with Check50

Check50 keeps telling me that my code failed to compile but when I compile it myself it compiles just fine. Why is this happening? Also, I am experiencing this problem on the Plurality problem in ...
user avatar
0 votes
1 answer
84 views

Question CS50 2021 Caesar - where is the bug?

I'm currently struggling with a bug in caesar pset2. If i use check 50 everything is green except: :( encrypts "a" as "b" using 1 as key output not valid ASCII text :( ...
user avatar
0 votes
1 answer
971 views

pset1 cash 2022

hello guys I got en error from check50 2022 which you can see it in my screenshot I check it 100 times but I can't resolve the problem can you please help me? #include <cs50.h> #include <...
user avatar
1 vote
0 answers
23 views

check50 doesn't work after cs50x migration to new VS ide

Your help is appreciated! check50 doesn't work in the new VS ide after migration (pset9): bash: cs50/problems/2022/x/finance: No such file or directory
user avatar
-1 votes
1 answer
26 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[...
user avatar
0 votes
0 answers
50 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 ...
user avatar
0 votes
0 answers
39 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 ...
user avatar
0 votes
1 answer
76 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. ...
user avatar
  • 14
0 votes
0 answers
32 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 ...
user avatar
0 votes
0 answers
75 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 ...
user avatar
  • 1
0 votes
0 answers
91 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 ...
user avatar
  • 1
0 votes
0 answers
276 views

Invalid slug error

When trying to go through the steps in lab 1 for hello.c. I am getting the below error ~/ $ check50 cs50/problems/2021/pset1/hello ...
user avatar
0 votes
0 answers
38 views

Pset9 problem at check50 tests

hello, i've tried "112.00" in my solution and cs50's solution and the result is same "invalid shares" but i don't know why this error occur. i'm really stuck any help please
user avatar
0 votes
0 answers
124 views

Help on Plurality Pset3

I'm trying to solve assignment "Plurality" of Problem set 3. However, check50 didn't prove to be quite useful for me this time. I'm having only one error message saying "print_winner&...
user avatar
0 votes
1 answer
48 views

dictionary.c - pset5 segmentation fault

// Implements a dictionary`'s functionality #include <strings.h> #include <stdlib.h> #include <ctype.h> #include <stdio.h> #include <stdbool.h> #include <string.h> ...
user avatar
0 votes
1 answer
88 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 ...
user avatar
0 votes
1 answer
78 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 ...
user avatar
  • 37
1 vote
2 answers
68 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 ...
user avatar
0 votes
1 answer
27 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 ...
user avatar
0 votes
1 answer
146 views

CS50 - pset3 - Runoff | Check50 failing print_winner on majority but works correctly for any manual test I can think of

I'm having trouble with getting Runoff to complete Check50. All checks are passing except the two below for the print_winner function :( print_winner prints name when someone has a majority Cause ...
user avatar
0 votes
1 answer
481 views

CS50 Lab6 taking too long to run when trying to run the code

For Lab6 the code I have written seems to have problems running. Even with check50 it tells me that "check50 is taking longer than usual". I am unable to figure out what is wrong with my ...
user avatar
  • 5
0 votes
1 answer
30 views

Recover finding all images but not passing check50

I know this has been brought up a few times before but none of the solutions seem to be relevant to the code that I have written below. My recover.c file compiles, executes and returns all 50 images ...
user avatar
0 votes
1 answer
17 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) { ...
user avatar
0 votes
1 answer
127 views

CS50 IDE Cash feeling less comfortable

I hope you could help me with the cash, less comfortable problem. I'm receiving this error message but I'm not sure what's causing the error message. Thank you very much in advance!
user avatar
0 votes
1 answer
322 views

CS50 Finance check50 problem in sell function, it works fine when i test it as well but idk what the problem is

I tried my solution multiple times and compared it to the staff's solution as well but there is an check 50 error saying ":( sell handles valid sale expected to find "56.00" in page, ...
user avatar
0 votes
1 answer
108 views

pset4 filter (more) edge not passing check50

this is my code for Edge, and it's not passing check50. below are the errors I got. any help is appreciated. :( edges correctly filters middle pixel expected "210 150 60\n", not "28 202 ...
user avatar
  • 23
0 votes
2 answers
60 views

Readability Wrong Output at Index around 7-8

I have been struggling with Week 2 Problem Set 2 Readability Question. At this point, I feel like I am stuck, and spend too much time just trying to fix one error. The code works perfectly except &...
user avatar
0 votes
1 answer
136 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 ...
user avatar
  • 23
0 votes
0 answers
136 views

Is there a bug in check50 cs50/problems/2021/x/finance?

I completed problem set 9 and works as supposed, but with check50 I get the following result: :( sell handles valid sale expected to find "56.00" in page, but it wasn't found For testing ...
user avatar
  • 1
0 votes
2 answers
164 views

Check50 accepts all but last 2 tests. pset1/credit

I've been trying to fix this on my own for a bit but I wasn't able to find an answer online. My credit program passes all check50 test's except for the last two (identifies 4111111111111113 as INVALID ...
user avatar
0 votes
1 answer
39 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 ...
user avatar
0 votes
1 answer
44 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 ...
user avatar
0 votes
0 answers
179 views

What's wrong with my register function? (Pset9 - Finance)

Here's my register function in application.py: @app.route("/register", methods=["GET", "POST"]) def register(): """Register user""" ...
user avatar
0 votes
1 answer
54 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: "); } ...
user avatar
0 votes
1 answer
72 views

Pset3 Plurality: program runs fine when I check manually, but Check50 disagrees

I wish I could be more specific with my question, but the problem is as the title suggests, check50's results do not seem to comport to mine. When I put it through check50, it fails on print_winner ...
user avatar
1 vote
1 answer
919 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 } ...
user avatar
0 votes
1 answer
104 views

I don't understand the comments from check50 on my lab 1 submission. could anyone help please?

This is my code #include <cs50.h> #include <stdio.h> int main(void) { // TODO: Prompt for start size int s; do { s= get_int("Start size: "); } ...
user avatar
0 votes
1 answer
17 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 ...
user avatar

1
2 3 4 5
13