You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2025. It is now read-only.
sir,
The pset1 mario more for more comfortable people doesn't have a key hint regarding the use of \n.
please, consider the following case
case no:1 : check50 marks this solution incorrect. consider ~ for spaces.
height:4
0123456789
~~~#~~#~~~\n // new line is used after the length of row.ie (height*2)+2
~~##~~##~~\n
~###~~###~\n
####~~####\n
case no: 2 : check50 marks this solution correct. consider ~ for spaces.
height:4
0123456789
~~~#~~#\n // New line is used after the rightmost hash!
~~##~~##\n
~###~~###\n
####~~####\n
Both the solutions are equally correct, I have seen many people on cs50 group asking why their solution is incorrect and wasting their time on this silly mistake which is easy to solve when informed.
A hint should be there that you don't have to print spaces after the right-most hash. A \n should be used.
thanks!