Допустим, в вашем классе 27 человек.
2^i = N, где N=27, т.е. 2^i = 27
Точной степени для этого уравнения нет (2^4 =16 и 2^5 = 32).
В первом случае мы угадаем только из 16 человек, во втором из 32-х.
Значит, чтобы угадать из 27 человек необходимо получить 5 бит информации,
т.е. задать 5 вопросов.
Once in a cloudy day, I started to walk alone in the road near forest. It was becoming dark and I still had to go far to reach my friend's house. I saw the sky was covered with dark, evilish clouds and I started to walk faster. When I looked at my right side, I saw trees were moving side to side and making strange noises. My heart started to beat repeatedly, I didn't knew what to do. No cars, no people, only me . That time I exactly knew what's gonna happen and it was the terrible storm. When the lighting groaned, I started to run. The noises was really frightening like it would hit me in any single seconds. After some minutes while running, I heard the strongest lightning ever which hit one of the tree. It fell infront of my legs and I shrinked. I was shaking to death when I saw the tree burning. Somehow I got into my friend's house and told them how weather can be so terrible.
Once in a cloudy day, I started to walk alone in the road near forest. It was becoming dark and I still had to go far to reach my friend's house. I saw the sky was covered with dark, evilish clouds and I started to walk faster. When I looked at my right side, I saw trees were moving side to side and making strange noises. My heart started to beat repeatedly, I didn't knew what to do. No cars, no people, only me . That time I exactly knew what's gonna happen and it was the terrible storm. When the lighting groaned, I started to run. The noises was really frightening like it would hit me in any single seconds. After some minutes while running, I heard the strongest lightning ever which hit one of the tree. It fell infront of my legs and I shrinked. I was shaking to death when I saw the tree burning. Somehow I got into my friend's house and told them how weather can be so terrible.
2^i = N, где N=27, т.е. 2^i = 27
Точной степени для этого уравнения нет (2^4 =16 и 2^5 = 32).
В первом случае мы угадаем только из 16 человек, во втором из 32-х.
Значит, чтобы угадать из 27 человек необходимо получить 5 бит информации,
т.е. задать 5 вопросов.