I have tested every criterion of Mario, and they all are met, but check50 is getting a different output than me. Here is a transcript of what happened.
elephant1123@ide50:~/workspace/pset1 $ ./mario
How many blocks would you like Mario to jump?
1
#
elephant1123@ide50:~/workspace/pset1 $ check50 2015.fall.pset1.mario mario.c
:) mario.c exists
:) mario.c compiles
:) rejects a height of -1
:) handles a height of 0 correctly
:( handles a height of 1 correctly
\ expected output, but not " #\n"
:( handles a height of 2 correctly
\ expected output, but not " #\n ##\n"
:( handles a height of 23 correctly
\ expected output, but not " #\n ..."
:( rejects a height of 24, and then accepts a height of 2
\ expected output, but not " #\n ##\n"
:) rejects a non-numeric height of "foo"
:) rejects a non-numeric height of ""
https://sandbox.cs50.net/checks/71ca821c6bac4df19433237410c8695a
I am pretty sure that the problem is my printf ("\n") to jump to the next line, since check50 appears to be seeing the \n even though it doesn't appear when i test it. Does anyone know how to fix this?