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.
Two guards were on duty outside a barracks. One faced up the road to watch for anyone approaching from the North. The other looked down the road to see if anyone approached from the South. Suddenly one of them said to the other, "Why are you smiling?"