Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Ayush Agrawal
    Hello everyone I took CS50's introduction to computer science course yesterday. I wanted to know from where should I do the assignment as I don't have the Harvard key..
    Buland Khan
    Hi there, anyone who would like to team up for cs50 puzzle day 2020?

    Hello everyone,
    Currently there's a live puzzle going on from 4th of sept to 7th of Sept. It a highly anticipating and encouraging event and therefore requires basic fundamentals programming skills.

    Anyone looking forward to teaming up then ping up in private

    In short I'm a python developer, scientific computational programmer and ML enthusiast.

    Hey I keep getting this 2 errors at pset2 (Caesar)
    Results for cs50/problems/2020/x/caesar generated by check50 v3.1.2
    :) caesar.c exists.
    :) caesar.c compiles.
    :) encrypts "a" as "b" using 1 as key
    :) encrypts "barfoo" as "yxocll" using 23 as key
    :) encrypts "BARFOO" as "EDUIRR" using 3 as key
    :) encrypts "BaRFoo" as "FeVJss" using 4 as key
    :) encrypts "barfoo" as "onesbb" using 65 as key
    :( encrypts "world, say hello!" as "iadxp, emk tqxxa!" using 12 as key
    expected "ciphertext: ia...", not "ciphertext: ia..."
    :) handles lack of key
    :( handles non-numeric key
    timed out while waiting for program to exit
    :) handles too many arguments

    include <cs50.h>

    include <stdio.h>

    include <math.h>

    include <string.h>

    include <ctype.h>

    include <stdlib.h>

    int main(int argc, string argv[])
    if (argc == 2 && isdigit (*argv[1]))
    int k = atoi (argv[1]);
    string s = get_string("plaintext: ");
    printf("ciphertext: ");
    for(int x = 0; s[x] != '\0' ; x++)

        //somando os numeros
        if (isalpha (s[x]))
            if (islower(s[x]))
                char c = ((s[x]-97) + k) % 26;
                printf("%c", c + 97);
            else if (isupper (s[x]))
                char d = ((s[x]-65) + k) % 26;
                printf("%c",d + 65);
            else printf("%c", s[x]);
    printf("Usage: ./caesar key\n");
    return 1;


    thats my code above
    can anyone help me?

    Hi! I am new here, Doing the Cs50 for business professionals. I need some help with this question.

    Suppose that an engineer excitedly runs up to you and claims that they've implemented an algorithm that can sort n elements (e.g., numbers) in fewer than n steps. Give some thought as to why that's simply not possible and politely explain.

    Well if you have less than n steps, you can't check if each element is sorted and you might leave some out of orders... Right?
    Hey guys how are you doing everyone?
    Is there anyone who are engaged in a CS50 puzzle day?
    Can you suggest me a team for CS50 puzzle day 2021
    @dmalan Hello!
    Julio Cezar Teles
    hello from brasil?
    hi any idea why am i facing this error?

    @dmalan sir kindly tell me how to use bootstrap library in windows , like how to download and install and use it in html?

    And also i need help,

    i want to know to use scss in windows as well

    hello Julio, from Brazil here
    Helio de Oliveira Bianchi

    hi any idea why am i facing this error?

    the line where you use the 'get_string' function is outside the main function. move this line to be inside the main function curly brackets and it should solve the problem

    A. CO.
    hi Mertcan from Turkey!
    Caesar Ian Belza
    Hello geeks
    Delight Fela-Steve
    Hello from Nigeria
    I ain't no geek but what is this matrix org
    . ¦3<RELATIVISM moccaram (Gitter): no this is cs50 room in gitter
    . ¦3<RELATIVISM but gitter was recently partnered with matrix.org
    . ¦3<RELATIVISM has is maintanance/development home
    . ¦3<RELATIVISM so gitter will follow the matrix.org +protocol making it possible for users from gitter to speak directly to other matrix.org users
    . ¦3<RELATIVISM gitter is basically gonna become a client
    Son Of Man
    PLS I just started the course,
    And I wanted to submit project 0, but I was told not to submit if I have submitted the project 2018, something like that
    PLS I I don't know if someone can explain that to me
    . ¦3<RELATIVISM hey Son Of Man (Gitter) welcome
    . ¦3<RELATIVISM cs50 main course
    . ¦3<RELATIVISM ?
    . ¦3<RELATIVISM I read somthing on that in the edx course main page
    . ¦3<RELATIVISM you might want to ncheck it out
    Delight Fela-Steve

    And I wanted to submit project 0, but I was told not to submit if I have submitted the project 2018, something like that

    It means if you've taken the course around 2018 and submitted the project 0 of that time, do not resubmit the project.

    . ¦3<RELATIVISM Delight Fela-Steve (Gitter): do you have reference
    Son Of Man
    @Delight-Fela-Steve thanks
    Delight Fela-Steve

    @Delight-Fela-Steve thanks

    You're welcome

    . ¦3<RELATIVISM Delight Fela-Steve (Gitter): do you have reference

    Here you go: https://cs50.harvard.edu/web/2020/projects/0/

    . ¦3<RELATIVISM cheers
    Daljeet Singh Harsh
    hey , guy's how can i get my certifiacte?
    Delight Fela-Steve
    @dsh35a_twitter Is it the verified certificate or the certificate of completion?
    Yousef Hurf
    Hello Everyone ^_^
    hello i need help i am struggling to connect my ide with github