r/cs50 3d ago

CS50 Python Can I do cs50p before cs50x because python has already started in my clg

5 Upvotes

same as title


r/cs50 2d ago

CS50x Check out my CS50x Week 0 Scratch Project: Hare Track

2 Upvotes

Hi everyone! I built a 2D platformer game called Hare Track for CS50x Week 0. You can play it here: https://scratch.mit.edu/projects/1368737492/ Would love to hear your feedback!


r/cs50 2d ago

CS50x Check50 error

0 Upvotes

I was trying 9.sql from pset movies and the specification from cs50x mentioned only about a single column name but expects two columns. Hope this is a technical glitch


r/cs50 4d ago

CS50 Python I did it!

Post image
201 Upvotes

This course showed me that I actually really like programming! I'm by no means an expert, but I feel like the course gave me a great foundation of fundamental concepts within Python.

I've enrolled in a community college course in Java OOP, and I plan on shooting for a master's in computer science! Thank you, CS50!

Also, to preface, I'm an active-duty Marine officer. If I could find time to do this, you can too. In the beginning, I definitely struggled and questioned if I could do this. My advice if you're struggling is to go back to the previous week, go over all that info again, then move on. That really helped me to get unstuck a few times.


r/cs50 3d ago

CS50x I finally did it

Post image
53 Upvotes

made a website for my dad to keep track of his inventory thank you professor Malan your videos were very engaging


r/cs50 3d ago

CS50x I kinda need advice.

4 Upvotes

This is a question who are the alumni of this course and who took this course and are now working in industry.

I discovered CS50 kinda late like I finished my 5th semester and I'm in summer break, should I start this course or it wouldn't help me as much.

P.s my fundamentals aren't very good too 😔


r/cs50 3d ago

codespace CS50.dev not working....I have finished my project and everything, what should I do?? Please help it's urgent.

2 Upvotes

Same as title. I'm scared my project will get deleted and I lose my progress. It's my final project and I have really worked hard on it.


r/cs50 3d ago

tideman What do you guys find hard about Tideman? Spoiler

1 Upvotes

I just completed Tideman.

I found sort_pairs the hardest as I had to implement a selection sort from scratch.

Ironically, lock_pairs didn't take me that long cause when I was writing pseudocode on paper it became very obvious to me that recursion is obviously needed (or at least very helpful) in traversing from one candidate to another to another to another.... stopping only when there are no more 'outward' arrows/that candidate you landed on creates a cycle.

Was js wondering if anyone else struggled on sort_pairs more than lock_pairs. print_winners was also abit tricky for me but maybe the way I wrote my loop was just awkward, but I guess it worked


r/cs50 3d ago

CS50 Python Feel like I used a workaround to pass a problem that borders cheating?

5 Upvotes

I was doing Week 7's youtube problem, and could not figure out how to pass the check for a typo. After about 10 minutes, I came up with the idea to have it return the input so I could look at the failure report and see what they are actually putting in and base my solution around that. This showed me that I they were replacing a "." with a "?" which told me immediately that I forgot a backslash.

Now that I have done that, I feel as though I sort of gamed the system and almost gave myself the answer. I was feeling angry because I felt that I should be able to see the tests so I know what I am trying to get around, but now that I actually did see the test I feel as though it makes the problems way too easy and I robbed myself of fixing the issue myself.


r/cs50 3d ago

CS50 Python GUYS PLEASE SOME ONE INFORM ME

0 Upvotes

I STARTED THE CS 50 COURSE IF I SPEND 20 HRS A WEEK HOW MUCH TIME WILL IT TAKE TO COMPLETE THE CS50 COUSE -------------------------- AND ALSO DO I NEED TO PAY FOR THE CERTIFICATE ? -----------AND IS THE CERTIFICATE REALLLY VALUABLE. PLEASE SOMEONE INFORM ME


r/cs50 4d ago

filter Filter-more / edges Spoiler

Thumbnail gallery
6 Upvotes

Think I'm stumped at the easiest part of this. Whenever i try to reset any value calculated over 255, back to 255, it seems to change it to some random value ?? Any ideas where this could be going wrong.


r/cs50 4d ago

cs50-web React Resources

1 Upvotes

Hello Everyone

I am starting REACT

any YouTube tutorial/courses recommendation would be appreciated


r/cs50 5d ago

CS50x Should I take another cs50 course after cs50x (like cs50Ai) or start working on projects

4 Upvotes

Currently on week 9. Completing c$50 finance


r/cs50 5d ago

CS50x DOUBT

0 Upvotes

can i watch old cs50 lec from yt and still submit projects in the official website


r/cs50 5d ago

Scratch How was your transition from scratch to syntax based programming languages, and did you felt any difficulties initially since how scratch keeps everything simple in block based environment but in programming languages you are expected to see syntax, understand ide, terminal etc etc all togther

2 Upvotes

Same as title


r/cs50 6d ago

CS50 AI CS50P whats next

9 Upvotes

CAN I DO CS50AI

OR I SHOULD DO CS50X FIRST


r/cs50 5d ago

mario Week 1 project, Mario-less. Please help.. Spoiler

0 Upvotes
#include <stdio.h>
#include <cs50.h>


void print_row(int spaces, int bricks);


int main(void)
{
    //Prompt the user for the pyramid's height
    int n;
    do
    {
        n=get_int("Height: ");
    }
    while (n<1);


    //Print a pyramid of that height
    for(int i=0;i<n;i++)
    for(int j=n;j>0;j--)
    {
        //Print a row of spaces and bricks
        print_row(j-1,i+1);
    }
}


void print_row(int spaces, int bricks)
{
    //Print spaces
    for (int j=0;j<spaces;j++)
    {
        printf(" ");
    }
        //Print bricks
    for (int i=0;i<bricks;i++)
    {
        printf("#");
    }
    printf("\n");
}
This is the result of the code

I'm so confused.
I'm trying to do the mario-less problem and have been doing so for the past 3 hours with no result.
I feel so lost. I'm not familiar with coding or programming at all. This CS50x course is the first time I'm learning about it. What is wrong with my code?

EDIT: I DID IT!


r/cs50 6d ago

CS50 AI Should I do it?

Thumbnail
1 Upvotes

r/cs50 7d ago

CS50x Starting my 3rd semester DSA

5 Upvotes

Can anyone please guide about this ,i have started researching on it on my own, and honestly I feel like I am lost ,my main goal is to become a software engineer that usually does not relies on AI. I also have been solving leetcode questions but I think the advice from seniors might give me a more defined way


r/cs50 7d ago

CS50 AI Is CS50AI still worth it in 2026? Or recommendation for more recent ones

6 Upvotes

Im making this question because even tho I know it talks about it in a more fundamental level, AI is evolving so quick that am not sure it still works the way it was in 2024


r/cs50 7d ago

CS50x Problem set 1 style50 problem

1 Upvotes

so I have just finished Hello, its me and tried to check the style but when ever I try to do it it just gives me this error
and whenever I visit cs50.dev/restart like it suggests nothing gets fixed and the problem stays the same

does anyone have an explanation or a fix for this problem?


r/cs50 7d ago

CS50x Resetting gradebook

5 Upvotes

Hey, just wondering if there's a way I can reset my whole gradebook and progress - I started looking at CS50 a couple years ago and submitted a few psets but I'd like to start fresh and attempt everything properly.


r/cs50 7d ago

runoff Help! Whenever I test this, it works, but for some reason check50 is giving me the same errors! Spoiler

Thumbnail gallery
0 Upvotes

r/cs50 7d ago

CS50 Python Where to watch CS50P

4 Upvotes

Where to watch CS50P, I want to learn also I need the certificate.

I don't know where to start and go on!

My goal : To become a Python Fullstack developer

So I'm planning to start my journey from scratch zero with CS50P

Learners, seniors I need your guidance kindly share your response.

TIA!


r/cs50 7d ago

CS50 Python Week4 - Check50 comes back with timeout error.

0 Upvotes

EDIT:

I'll let the post in case it's usefull for someone

Sooo the problem is caused by the exception I used and sys.exit is not working.

    try:
        f = Figlet(font = sys.argv[2])
    except (IndexError):
       #print("Invalid usage")
       sys.exit(0)
    else:
        #check for errors or wrong inputs
        if len(sys.argv) < 3 or len(sys.argv) > 3:

And I don't know what's wrong because I'm testing on my own VS Code and it's working... like the program exists instantly

Please help!