Any change that doesn't compile (bad syntax) or fails the tests is rejected. Code that produces deadlock or panic or timeout is also rejected.
If you give me an example of a rejected solution, I'll show you why the solution wrong.