I submitted all pset1 programs, but only Mario is graded; and even more weirdly, for Mario, even it shows that I passed all test, I didn't get score for all of them (see line 2)
Did you submit all of pset1 at the same time and in the same package? If you submit them in different uploads, only the last upload will be graded and the other parts of the pset will get 0 or will not be graded.
As for the mario grade, one of the tests actually failed. You should rerun check50 against the code that was uploaded. In fact, if you run your mario and give it a height of 0, you'll probably see it fail. If it prompts for the height again, it's wrong. A pyramid of height 0 is valid - it should simply produce a carriage return as output.
If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)