alguien me ayuda a solucionar este problema plis? repartir entre 3 personas un barril de 24 litros usando recipientes que marcan 5, 11, 13 litros.
me ayudan pliss :
Respuestas a la pregunta
Respuesta:
Explicación paso a paso:
Repartir entre 3 personas un barril de 24 litros usando recipientes que marcan 5, 11, 13 litros.
BARRIL = 24
B1 = ===> BARRIL DE 5 LITROS
B2 = ===> BARRIL DE 11 LITROS
B3 = ===> BARRIL DE 13 LITROS
--------------------------------------------------------
BARRIL = 6
B1 = 5
B2 = 0
B3 = 13
-----------------------------------------------------------
BARRIL = 6
B1 = 5
B2 = 11
B3 = 2
-----------------------------------------------------------
BARRIL = 0
B1 = 5
B2 = 11
B3 = 8
-----------------------------------------------------------
BARRIL = 8
B1 = 5
B2 = 11
B3 = 0
-----------------------------------------------------------
BARRIL = 8
B1 = 3
B2 = 0
B3 = 13
-----------------------------------------------------------
BARRIL = 0
B1 = 3
B2 = 8
B3 = 13
-----------------------------------------------------------
BARRIL = 13
B1 = 3
B2 = 8
B3 = 0
-----------------------------------------------------------
BARRIL = 13
B1 = 0
B2 = 8
B3 = 3
-----------------------------------------------------------
BARRIL = 8
B1 = 5
B2 = 8
B3 = 3
-----------------------------------------------------------
BARRIL = 8
B1 = 0
B2 = 8
B3 = 8
-----------------------------------------------------------
BARRIL = 0
B1 = 8
B2 = 8
B3 = 8
LIKE, 5 ESTRELLAS Y CORONITA XD LoL