Skip to content
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

Pset 1 : Mario.more hints! #102

Open
iamstring opened this issue Apr 16, 2017 · 0 comments
Open

Pset 1 : Mario.more hints! #102

iamstring opened this issue Apr 16, 2017 · 0 comments

Comments

@iamstring
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant