Power Redirect
Challenge
Solution
Welcome! You can manage the energy stored in power plants by transferring it from one to another.
A command contains two digits: the departure and the destination.
For example, command 12 transfers energy from power plant 1 to power plant 2.
Your goal is to route all the energy to power plant number 3!
Energie disponible dans les centrales :
Centrale 1 : ##############
Centrale 2 :
Centrale 3 :
Enter command:12
Energie disponible dans les centrales :
Centrale 1 : ############
Centrale 2 : ##
Centrale 3 :
Enter command:13
Energie disponible dans les centrales :
Centrale 1 : ########
Centrale 2 : ##
Centrale 3 : ####
Enter command:12
Impossible to transfer energy.
Energie disponible dans les centrales :
Centrale 1 : ########
Centrale 2 : ##
Centrale 3 : ###
Mis à jour