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

PSET3-Plurality. Check50 doesn't re

After finishing plurality, it fails check50. It returns "print_winner function did not print winner of election". In print_winner function I did the following void print_winner(void) { //create a ...
0
votes
1answer
165 views

pset3 I did print winner from pluarity, but check50 says I didn't. What's wrong?

I ran plurality according to spec and was able to print out all winners correctly. check50 says I didn't. What could be the problem? Is there any way to see what check50 used as inputs for plurality? ...
0
votes
1answer
350 views

Plurality vote strange errors

My code works consistently, but I get these two errors which I check it. I would like to know how to replicate these errors on my own so that I can figure out how to fix them. #include <stdio.h>...
0
votes
1answer
417 views

Week 3 - Plurality Code Will Not Compile on CS50 Check

I'm having an issue with CS50's check50 utility. My week 3 Plurality code is working, but when I submit it to be checked I get these results: Results for cs50/problems/2020/x/plurality generated by ...
0
votes
1answer
241 views

check50 claiming pairs are sorted incorrectly

On Problem Set 3, check50 has flagged my program as not having sorted the pairs correctly. However, the pairs array appears to be sorted in every case I've tried. I used insertion sort and had ...
0
votes
1answer
32 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
876 views

Pset6: DNA - Check50 timeout

tl;dr: Code seems to run perfectly, check50/Submit50, however, is timing out before a response is provided. I have manually checked all test cases provided on the Pset page: small.csv 1.txt through ...
0
votes
2answers
784 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
82 views

Finance check50: /register & /check return “expected status code 200, but got 400”

My Finance program works, python and javascript both, however, I continue to receive errors when running check50. This seems to be related to my registration function. After looking at various ...
0
votes
0answers
320 views

FINANCE [UNIQUE constraint failed: users.username] Error encountered using check50

I have finally got my entire program working for PSET8 Finance. I receive no errors in my dev console and all functions are working correctly after registering 15 users. For some reason, though I get ...
0
votes
1answer
2k views

pset4 filter: blur seems to be working, but check50 reads errors

For the filter program on pset4, the blur filter seems to be working fine for all images that were included in the distribution code. The blur filter takes a pixel in an image and adds its color ...
0
votes
1answer
55 views

cs50 pset2: check50 does not accept output

I am running check50 but it will not accept my output as correct. For example, one of the conditions needed to be satisfied is: When I run the code below I obtain the desired output (CAQGON) but ...
0
votes
1answer
1k views

error: result of comparison against a string literal is unspecified (use strncmp instead) and Check50 showing error on credit problem

I've submitted my credit problem after testing with possible values and everything seems to work just fine as planned, except that I got some errors that certain numbers could not be tested as INVALID ...
0
votes
1answer
45 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 ...
0
votes
1answer
61 views

(pset1 cash) getting correct answer in terminal output, but check50 shows wrong output

After I submitted my cash pset1, it returned three test cases(input of 1.6,23 and 4.2) giving the wrong output(7,92,18), also detailed in check50. But when I try the three test cases with my code, my ...
0
votes
1answer
163 views

Pset7: ModuleNotFoundError: No module named 'htmldom'

I'm trying to submit my Pset 7 assignment, and am receiving the error: ModuleNotFoundError: No module named 'htmldom' via Check50. However, I don't receive this error when I run the program myself and ...
2
votes
1answer
6k views

Pset3: Plurality - Weird output!

This program is for counting the plurality for a list of candidates, Check Description for more info, The program works like this: Enter the candidate's name as an argument when running the program ...
0
votes
1answer
63 views

Finance DepricationWarning on Check50

My code is failing (or at least not parsing properly) when I run check50. :| quote handles valid ticker symbol check50 ran into an error while running checks! DeprecationWarning: Using or importing ...
0
votes
0answers
103 views

Submit50 & Check50 not submitting most upto date version of pset

I've been attempting to submit my Caesar cipher solution to no avail; my first submit worked fine but then I noticed that my code was well full of bugs. So, I fixed it, and submitted again. Following ...
0
votes
1answer
96 views

Pset 8 Finance - check50 error

pset8:finance iam tired of trying what now??
0
votes
1answer
233 views

problem with check50 in speller

I have a problem when I use check50 in speller pset It give me errors in all checks But when i tried my code in cs50 ide and compare my result to the staff or key result it gives no errors and ...
0
votes
1answer
60 views

check50 finance button not found

For pset8 finance check 50 is showing errors stating :( quote page has all required elements expected button to submit form, but none was found The html template and source have a button ...
0
votes
1answer
107 views

speller check50 fails trying to check for memory errors but valgrind reports none

All tests pass except for the memory one saying it cannot find the misspelled words. Comparison with keys/ is perfect for multiple large texts. :) handles substrings properly running ./speller ...
0
votes
1answer
65 views

what just happened after check50 update

now i am getting this error when i use check50: File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master ws.require(__requires__) File "/usr/local/...
1
vote
1answer
241 views

old version of submit50 preventing check50?

running check50 gives the following error : You have an old version of submit50. Please update your version of submit50, then re-run check50!
0
votes
1answer
67 views

pset4 speller - Check50 constantly returning errors

I am trying to submit my code for pset4 (speller) but Check50 seems to return an errors for most of the tests. I have tested my own code with the staff's solution and it seems to work fine there. Can ...
0
votes
1answer
74 views

Speller(hashtable method), long delay in output, and check50 not working

I finished all the TODO functions and fixed all the errors, but the program takes 20-25 seconds to output anything, the dictionary load time is 4.3 seconds in the output, the total time is 4.6 seconds,...
0
votes
1answer
197 views

pset 8 finance: :( sell handles valid sale

:) Struggle with the last check. Get this error message: expected to find "56.00" in page, but it wasn't found Tried the same approach like I used for the buy-function. Create an extra template to ...
0
votes
1answer
217 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 ...
0
votes
1answer
273 views

Valgrind passed (no leaks) but CS50 check fail

Hi~ Could you please tell me the reason I can’t pass CS50 check? It seems there is no error when I run valgrind ./speller texts/lalaland.txt (I count the nodecount q’ty during LOAD and confirmed the ...
0
votes
1answer
89 views

Help with weird bug in pset2 vigenere

After finishing most of the program, for some reason when check50 attempts to encrypt BaRFoo using keyword BaZ as well as the other attempts for the variations of barfoo and "hello, world", my code ...
0
votes
1answer
615 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 ...
0
votes
0answers
107 views

PSET3 Resize -resizes correctly Byte… doesn't match

I don't understand what I did wrong... Here's my code : // Copies a BMP file #include <stdio.h> #include <stdlib.h> #include "bmp.h" int main(int argc, char *argv[]) { int n = ...
0
votes
1answer
44 views

Check50 has Blank Output

I am trying to run check50 on my code, but it does not return anything; the output is blank, and it only returns a link to a check on https://cs50.me. Anyone know how to fix this problem
0
votes
1answer
237 views

Installing check50 gives error - check50: command not found

I am currently using a Windows Subsystem with Ubuntu 18.04 LTS, and I was trying to install check50 and submit50 following the instructions under https://cs50.readthedocs.io/. However, when I attempt ...
0
votes
1answer
118 views

Is there any way to use Check50 and Submit50 from CLion IDE?

I often use CLion for programming, and to complete my CS50 assignments, I would like to use CLion as well. At present, I know how to import CS50.h for using in CLion, but I couldn't find a way of ...
0
votes
1answer
86 views

Problem with Pset2 submission vigenere

I just wrote the program for cs50 pset2 vigenere problem. It ran perfectly when I tried to run it, with expected output. But on submitting, cs50.me check50 shows that my program does not show the ...
1
vote
2answers
249 views

PSET8: Finance - “check50 ran into an error while running checks!” Contact sysadmins@cs50.harvard.edu 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 sysadmins@cs50.harvard.edu ...
0
votes
1answer
66 views

Pset4, matching with staff solutions,but doesnt pass check50

I compared my output with all keys for every text, and it seems right, but when I use check50 all test cases fail for some reason. My code :https://gist.github.com/Praful932/...
1
vote
1answer
1k views

Pset8 Finance Check error

I consistently get this error when running check50 on pset8 Finance problem from CS50 when I assume it tries to add a new user that isn't in the user database. However when I enter a new user myself, ...
0
votes
1answer
331 views

Pset5 Speller returning one less word in text

So I have been at this problem for some time. I’m glad I have gotten as far as I have. I believe I just have a small step to go before I finish the problem set. (or maybe not). My trie seems to be ...
0
votes
1answer
86 views

pset3 resize(less) working correctly, but check50 show a bunch of "image has more bytes than expected

I'm not sure where I went wrong that is causing it to add too many bytes. When I test the program, it seems to resize everything correctly. Code: #include <stdio.h> #include <stdlib.h> ...
0
votes
1answer
145 views

Code runs fine until Check50 then it cannot load dictionary

Code runs as intended (other than some memory leaks that need to be fixed). But when I run check 50 my load function throws a "couldn't load file" error for whatever dictionary is being passed into ...
0
votes
1answer
171 views

check50 not approving my code but it looks like it's working

Check50 is telling me that none of the expected ciphers are working, however running each of them appears to give the exact same output it expects. I cannot see where the failure is coming from. ...
1
vote
2answers
1k views

Problems with check50 for pset2 caesar 2019

Hello! I have two questions that I hope someone can help out with! Q1) I just finished writing my solution for pset2-Caesar in CS50 Lab- When I try to check it with check50 I get an error message as ...
2
votes
2answers
3k views

pset6 python bleep

i have this failed test when i use check50 in pset6 bleep :( handles banned words lists with arbitrary words in them Log running python bleep.py banned2.txt... sending input My cat and dog ...
1
vote
1answer
38 views

pset 3 fifteen - check50 failure last 3x3, 4x4

I was going to check my solution to pset3 fifteen with check50 while I received two failure errors on the console (on the last 3x3 and 4x4 checks). :) fifteen.c exists. :) fifteen.c compiles. :) ...
0
votes
1answer
32 views

Why does check50 upload?

I'm just wondering why check50 has an upload stage to begin with? What is it uploading? $ check50 cs50/2018/ap/pennies Connecting......... Authenticating...... Preparing................ Uploading........
1
vote
1answer
95 views

pset 6 - similarities, check50 error

Getting an error on Check50 for Similarities, Pset6. When I run Check50 the log file states: :( helpers.py compiles No module named 'numpy' I'm using the numpy package for setting up the 2D matrix. ...
0
votes
1answer
65 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 ...

1 2
3
4 5
13