-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invisible ASCII chars #220
Comments
I had the very same issue when doing this pset myself! And I'd be happy to help here. |
I'm not sure that it's the same case, but I also have similar issues with Substitution problem and check50. There are no errors or additional characters
|
Thanks so much for sharing this issue, I've been trying to finish my pset2 for one day because of this. |
A common bug in Caesar and Vigenere is printing out characters that are not visible on screen. The most common cause here is actually through an off by one error, where the student loops to
< n+1
or<= n
and then mistakenly encrypts the trailing\0
to something exotic. However, check50s feedback isn't very helpful here:The above is the result of introducing this off-by-one in vault50's solution, full results at: https://submit.cs50.io/check50/db65ac87b1538ac1afc860e7df823b5158885d90
Can we improve?
The text was updated successfully, but these errors were encountered: