Вопрос задан 28.07.2018 в 12:15. Предмет Информатика. Спрашивает Иванова Лиза.

Две семьи (в каждой семье есть папа, мама и дочь) хотят переправиться через реку. У них есть лодка,

в которой может переправиться два человека, причем грести могут только мужчины (то есть в лодке всегда должен плыть хотя бы один мужчина). Дочки могут плыть в лодке или оставаться на берегу только с кем-либо из своих родителей. Как им всем переправиться на другой берег? Составьте план перевозки, в котором должно быть указано, кто переправляется в лодке каждый раз.
0 0
Перейти к ответам

Ответы на вопрос

Внимание! Ответы на вопросы дают живые люди. Они могут содержать ошибочную информацию, заблуждения, а также ответы могут быть сгенерированы нейросетями. Будьте внимательны. Если вы уверены, что ответ неверный, нажмите кнопку "Пожаловаться" под ответом.
Отвечает Соколов Егор.
1)папа1, мама2
2) папа1, дочь2
3)папа2, мама1
4) папа2, дочь1
5) папа2, папа1
0 0
Отвечает Рахмангулов Тимур.
1) папа1, мама1
2) папа1 назад
3) папа1, дочь1
4) папа1 назад
5) папа2, папа1
6) папа2 назад
7) папа2, мама2
8) папа2 назад
9) папа2, дочь2
0 0
Отвечает нейросеть ChatGpt. Будьте внимательны, ответы нейросети могут содержать ошибочные или выдуманные данные.

Plan for Crossing the River

To ensure that both families can successfully cross the river, the following plan can be implemented:

1. First Crossing: - The father from the first family and the father from the second family row across the river together. - This is based on the fact that only men can row the boat, and at least one man must be present in the boat at all times.

2. Second Crossing: - The father from the first family returns alone to the original side. - This is necessary to bring back the boat for the next crossing.

3. Third Crossing: - The mother from the first family and the mother from the second family row across the river together. - This is based on the fact that only men can row the boat, and at least one man must be present in the boat at all times.

4. Fourth Crossing: - The daughter from the second family returns alone to the original side. - This is necessary to bring back the boat for the next crossing.

5. Fifth Crossing: - The father from the first family and the daughter from the first family row across the river together.

6. Sixth Crossing: - The mother from the first family returns alone to the original side.

7. Seventh Crossing: - The father from the first family and the father from the second family row across the river together for the final time.

This plan ensures that all members of both families are safely transported across the river while adhering to the given constraints.

0 0

Топ вопросов за вчера в категории Информатика

Последние заданные вопросы в категории Информатика

Задать вопрос