Skip to main content
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 ...
langoth's user avatar
  • 36
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 ...
Chrystz's user avatar
  • 36
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.
curiouskiwi's user avatar
  • 18.7k
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.
curiouskiwi's user avatar
  • 18.7k
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 ...
Cliff B's user avatar
  • 69.3k
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 ...
Cliff B's user avatar
  • 69.3k
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 ...
curiouskiwi's user avatar
  • 18.7k
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 ...
Blauelf's user avatar
  • 21k

Only top scored, non community-wiki answers of a minimum length are eligible