There is a professor at my university who is known for doing something like this. He says for every exam that if /no one/ writes anything on the exam, everyone in the class will get an A on the exam. But, if one person writes anything on the exam, then he will grade all the exams normally.
Apparently he's never had an entire class leave all their exams blank.