Skip to main content
1 of 6
Onyx
  • 13
  • 5

What am I doing wrong with check50? Lot's of :(

world...of CS50!
Having issues clearing mario through check50. 
I looked through other check50 issues, including ones that look the same as mine. But I haven't found a solution. 
My code seems to give desired results as shown on the mario assignment page. I also entered 0, and " " and it "rejected" them by requesting input again. 
My code produces:
Height: -1
Height: -2
Height: foo
Retry: bar
Retry: 1
        ##
jharvard@appliance (~/Dropbox/pset1): 

and this: 
Height: 8
       ##
      ###
     ####
    #####
   ######
  #######
 ########
#########
jharvard@appliance (~/Dropbox/pset1):



However, when I run the check50 I get this: 
 
jharvard@appliance (~/Dropbox/pset1): check50 /2014/x/pset1/mario mario.c
:) mario.c exists
:) mario.c compiles
:( rejects a height of -1
   \ expected output, not standard error of "TERM environment variable not set.\n"
:( handles a height of 0 correctly
   \ expected output, not standard error of "TERM environment variable not set.\n"
:( handles a height of 1 correctly
   \ expected output, not standard error of "TERM environment variable not set.\n"
:( handles a height of 2 correctly
   \ expected output, not standard error of "TERM environment variable not set.\n"
:( handles a height of 23 correctly
   \ expected output, not standard error of "TERM environment variable not set.\n"
:( rejects a height of 24
   \ expected output, not standard error of "TERM environment variable not set.\n"
:( rejects a non-numeric height of "foo"
   \ expected output, not standard error of "TERM environment variable not set.\n"
:( rejects a non-numeric height of ""
   \ expected output, not standard error of "TERM environment variable not set.\n"
https://sandbox.cs50.net/checks/1939b97b24fc4e79915e6ebba4f73bf0
jharvard@appliance (~/Dropbox/pset1): 

I looked up "TERM environment variable not set.\n", but found nothing. 
What am I missing here?

Thanks for looking, I appreciate any help :)
Onyx
  • 13
  • 5