He handed out all of the tests and went back to his desk to wait for the hour to be up.
Once the test was over the students all handed the tests back in.
The professor noticed that one of the students had attached a $100 bill to his test with a note saying "A dollar per point."