Online leaks have upended a prestigious math contest, fueling worries that honest kids will lose out.