The example in the handout said that the number 93 appears four times. It only appears twice. This is a typo. The on-line version has been corrected. Please make the correction in your copy of the hand out.
If the mail daemon is sending you mail when you submit your project (for example, complaining about names being too long or unknown users), try copying the new submit201 program:
% cp ~chang/pub/cs201/submit201 ~/binThe old submit201 program did get the project to me, but there is a small bug that caused the mailer daemon to try to mail the project to the user who's name looks like the first line of your program.
Make up test input that challenges your program. For example, a test where the number that appears most often is the first number, a test where the user enters -1 on the first line, or one where the user enters lots of numbers.
When you submit your program make sure the typescript includes the input and the output of all the test cases. If you kept the input in a file, then use cat to display the message.
Richard Chang, email@example.com