📜 ⬆️ ⬇️

How to guess the number fastest?

Given an integer from 1 to 1000. Your friend knows this number.
What is the minimum number of questions that can only be answered "yes" or "no", you need to ask to determine what the number?

')

Source: https://habr.com/ru/post/20037/


All Articles