Setting compiler error in judging code.