How does Codechef test whether my solution is correct or not?

What is really the purpose of this code?

2 Likes