лаброри
27.08.2021 09:40

C++
при игре в хоровод дети встали в круг после чего ведущий присвоил каждому ребёнку номер начиная с первого по часовой стрелке всего получилось n детей во время игры ведущий выбрал одного ребёнка и начиная с него стал отсчитывать по m часовой стрелке ребёнок на котором счет остановился выходит из круга а счёт возобновляется в конце концов остаётся один ребёнок который и считается победителем с какого ребёнка дедущему надо начать расчёт если он хочет чтобы победил ребёнок под номером l

примеры входных и выходных данных

10 2 3. 9

5 2 3. 1

100 12 11. 31

Нажмите на рекламу ниже и сразу увидите ответ
Популярные вопросы:
Ответ:
irynasherem02
20.03.2023 12:51

an ancient greek legend, the uninvited wedding goddess of discord and strife eris threw a wedding table a golden apple, on which was written a single word - "the most beautiful". were on olympus hera, athena and aphrodite arguing who should own this apple. each of them was rightfully deserves to own an apple, and even zeus refused to be their judge. he took the apple, gave it to hermes and told to withdraw goddesses in the neighborhood of troy, mount olympus, where they had to decide the dispute son of king priam of troy, paris. hera promised paris power over the whole of asia, athena - the glory and victory, and aphrodite promised him in marriage elenu.uslyhav wonderful promise of aphrodite, paris gave the apple of paris ey.afrodita helped kidnap helen, wife of spartan king menelaus, which later was the cause of the trojan war .

0,0(0 оценок)
Ответ:
andbliev
20.03.2023 12:51

an ancient greek legend, the uninvited wedding goddess of discord and strife eris threw a wedding table a golden apple, on which was written a single word - "the most beautiful". were on olympus hera, athena and aphrodite arguing who should own this apple. each of them was rightfully deserves to own an apple, and even zeus refused to be their judge. he took the apple, gave it to hermes and told to withdraw goddesses in the neighborhood of troy, mount olympus, where they had to decide the dispute son of king priam of troy, paris. hera promised paris power over the whole of asia, athena - the glory and victory, and aphrodite promised him in marriage elenu.uslyhav wonderful promise of aphrodite, paris gave the apple of paris ey.afrodita helped kidnap helen, wife of spartan king menelaus, which later was the cause of the trojan war .

0,0(0 оценок)
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота