Quote:
Originally Posted by Adultnet
There is a train with a circle shape which wagons are connected to each other.
You are located in one of the train's wagons.
Your goal is to count how many wagons there are in this train.
- To accomplish your task you can turn lights on and off.
|
Each wagon can have lights on or off.
You don't know what the correct situation in the train is so there might be some wagons with lights on and then some as maybe with lights off.
so you must think of a way to be sure you made a full circle and counted all the wagons