A boy and a girl are sitting on the porch.
"I'm a boy," says the child with black hair.
"I'm a girl," says the child with red hair.
If at least one of them is lying, who is which?
Thirty friends were on a hiking trip when they decided to enjoy the bonfire. They assembled for it and agreed to play a game. For that, they divided themselves into five teams with seven members each, forming five rows.
Your job is to measure 45 minutes if you have only two cords and matches to light the cords.
1. The two cords are twisted from various materials, so their different segments can burn at different rates.
2. Each cord burns from end to end in exactly one hour.
If I put in one canary per cage, I have one bird too many. If I put in two canaries per cage, I have one cage too many. How many cages and canaries do I have?