Contest management system for math contests