Nice - one of those solutions that makes you say, "Of course! Why didn't I think of that?"

This comment is hidden because it contains spoiler information about the solution

If it takes 2 minutes to cook any single pancake, how can you have odd numbered cooking times?

This is not a correct answer as it doesn't return false for ages 10,11 and 12. The question asks for teens and up.

exactly))

cheater :)

outside the box means stop using common sense?? :D

You have to think outside of the box, it's a tricky problem.

How can I make 6 pancakes on pan for 5 in 3 minites?? I don't see logic in it.

If evry round of pancakes takes 2 mins (both sides) and 6 pancakes take 2 rounds, total time must be 4 mins, not 3!

Now there are only 200 random tests.

Yup, 200 is still acceptable.

Would 200 be a more logic value? Another way of using less random test cases would be forcing some test cases behave in certain way.

It can easily choke the user's browser, though. Printing lots of stuff out is not a very good idea in general.

Done then. 1000 random tests seems like a lot, but I don't think it'll be such a struggle for the server.

yep)

Nice - one of those solutions that makes you say, "Of course! Why didn't I think of that?"

This comment is hidden because it contains spoiler information about the solution

If it takes 2 minutes to cook any single pancake, how can you have odd numbered cooking times?

This is not a correct answer as it doesn't return false for ages 10,11 and 12. The question asks for teens and up.

exactly))

cheater :)

outside the box means stop using common sense?? :D

You have to think outside of the box, it's a tricky problem.

How can I make 6 pancakes on pan for 5 in 3 minites??

I don't see logic in it.

If evry round of pancakes takes 2 mins (both sides) and 6 pancakes take 2 rounds, total time must be 4 mins, not 3!

Now there are only 200 random tests.

Yup, 200 is still acceptable.

Would 200 be a more logic value? Another way of using less random test cases would be forcing some test cases behave in certain way.

It can easily choke the user's browser, though. Printing lots of stuff out is not a very good idea in general.

Done then. 1000 random tests seems like a lot, but I don't think it'll be such a struggle for the server.

yep)

## Loading more items...