Предмет: Информатика, автор: Anya1329

Решить задачи составив алгоритм (блок-схему)
Задача 1: Кот Матроскин и пес Шарик нашли клад, который состоял из 9 одинаковых монет. В коробке, в которой лежали монеты, друзья обнаружили записку: «При помощи чашечных весов без гирь найдите среди этих 9 монет одну золотую и купите почтальону Печкину велосипед. Сделайте это при помощи двух взвешиваний. Золотая монета более тяжелая».
Задача 2: Злая мачеха, отправив падчерицу за водой, дала ей 2 кувшина емкостью 5 и 8 литров и велела принести ровно 3 литра воды. Составь алгоритм, в котором описывается, как должна действовать падчерица.

Ответы

Автор ответа: TheRedl1ub
0

Ответ:

делим монеты на 3 кучи в каждой по 3 монеты, ложим на весы 2-е кучи, какая из них тежелей в той и золотая монета, если кучи одинаково весят, то золотая монета в той куче которую не звешвали. Теперь берем ту кучу в которой золотая монета (мы еще не знаем какая она) ложим 2-е монеты на весы, какая монета тежелее та и золотая если монеты одинаково весят то золотая монета та которую мы не положили на весы, задача решина

Подробнее - на Znanija.com - https://znanija.com/task/1037513#readmore

Объяснение:

Автор ответа: SvetoDanya
0

1) делим монеты на 3 кучи в каждой по 3 монеты, ложим на весы 2-е кучи, какая из них тежелей в той и золотая монета, если кучи одинаково весят, то золотая монета в той куче которую не звешвали. Теперь берем ту кучу в которой золотая монета (мы еще не знаем какая она) ложим 2-е монеты на весы, какая монета тежелее та и золотая если монеты одинаково весят то золотая монета та которую мы не положили на весы, задача решина. (писал не я, поэтому присутствуют ошибки.)

2) 1. наливаем воду в 9л ведро

2. переливаем в 5 л.

3. остается 4л.

4. выливаем из 5л и переливаем в 5л оставшиеся 4литра.

5. снова набираем в 9л.

6. переливаем в 5л 1литр(к тем 4, которые там уже налиты). остается 8литров.

7. выливаем воду из 5л.

8. переливаем от оставшихся 8литров в 5л

9. остается 3литра.

Похожие вопросы
Предмет: Қазақ тiлi, автор: serezha1974
Предмет: Английский язык, автор: jozani
ПОМОГИТЕ, ПОЖАЛУЙСТА ,СОКРАТИТЬ ТЕКСТ..... My Favourite Newspaper Beginning to tell you about my favourite newspaper, firstly I would like to stress that the mass media and especially press play very important role in our lives. Needless to say that the mass media have done and continue doing much to excite and to maintain our interest in every aspect of the life in Russia. But I want to draw your attention to the work of press and its role in the life of society. The press is one of those few means of getting information, which exists in almost all parts of the world. Reading different newspapers and magazines, we learn about recent political, economical and cultural events in Russia and abroad, about international relations and progressive views, about ordinary and extraordinary things and cases. That is why I think it necessary that people should read newspapers and magazines. As for me, my favourite newspaper is “Moskovskiy Komsomolets” (“MK”, in brief). I am sure you have heard about this newspaper and have had a chance to read it. I suppose, it gives us a great amount of information and quickly and vividly reflects current and important events on its pages. The principal vital and actual problems are always discussed by the reporters of “Moskovskiy Komsomolets” and this feature attracts me much. On the pages of “MK” we also can find broad daylights of the political life of the country – this is another good tradition and positive particularity which is liked by its readers. For all items and saturation coverage of occasions this newspaper offers a lot of columns and headings with brief and interesting headlines. It goes without saying that the most exciting reports and latest news are always published on the first page of “MK” so that the readers could familiarize with them at once. To my mind, it’s very convenient! Recently a great amount of advertisements have appeared on the news pages and on the pages of “MK” too. I consider this is wrong: advertisements occupy the space which could be used for news or reviews and must be published only as special separate periodicals. They reduce the quality of the newspaper as a source of information and affect its prestige, and this point should be taken into account. On the whole my favourite newspaper meets my requirements and I hope that it will be printed in future.