2
votes
Accepted
CS50 Pset1 credit
While your program will likely pass the automated tests of C50, in terms of design, you could think of the following:
As per the problem description,
Visa uses 13- and 16-digit numbers
Your ...
2
votes
Accepted
Can anyone explain that attendence algoritm of week 0 lecture?
Following would be the steps assuming 8 students are in the room
1. Each of them would have the number 1 in their mind and 8 of them would be standing
2. You add the number in your pair's mind (in ...
1
vote
Not able to link cs50x with Edx
You probably ran into the (now resolved) Auth problem described here:
https://cs50.statuspage.io/incidents/gwmwslhlmszx
Can you try again? It should work now.
1
vote
CS50 2019 Verified Certificate Missing
This is a known issue with edX. Please contact them via [email protected] so they can give you a link.
1
vote
Accepted
Errors on Mario pyramid
The code doesn't satisfy the program spec. Too many leading spaced for all except a pyramid of height 8. The last line of a pyramid of any height must start in the first position on the line.
This ...
1
vote
Accepted
Linking edX account error
I have a report that the problem has been fixed. Please confirm or refute in a comment. I also understand that you were not the only person with this issue.
If this answers your question, please ...
1
vote
Accepted
Pset 3 (Recover): Why are images still glitchy?
Your issue is this:
// Name for new file
char *filename[8];
sprintf(*filename, "%03i.jpg", imageCount);
Rather than declare a string (a null terminated character array) for your filename, you've ...
1
vote
Pset 3 (Recover): Why are images still glitchy?
char *filename[8];
You are declaring an array of 8 pointers, but no space for any characters. Your sprintfed file name might land anywhere, whatever filename[0] initially points to. Change it to char ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
edx × 48cs50x × 7
certificate × 7
grading × 5
pset3 × 3
course-info × 3
harvard × 3
pset4 × 2
pset1 × 2
mario × 2
cs50-ide × 2
pset0 × 2
pset × 2
cs50x2017 × 2
lectures × 2
verified-certificate × 2
verified × 2
pset2 × 1
pset5 × 1
recover × 1
resize × 1
check50 × 1
c × 1
caesar × 1
python × 1