You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
1$\begingroup$ Cool! But "We want to find the value of the larger number" (a quotation from the question) — not merely who picked it. Can you edit to explain how we know that'll be done within the requisite number of turns? $\endgroup$– msh210Commented Jul 18, 2023 at 4:40
-
3$\begingroup$ A binary search will take up to 999 questions for one person, but you could need twice that if Bob and Charlie's numbers are close together. $\endgroup$– fljxCommented Jul 18, 2023 at 7:40
-
1$\begingroup$ To put the other comments in plain English: there are (several) cases where this approach hits the question limit without finding the larger number, and thus fails the given task. Also, it will often hit the question limit without finding even the person with the larger number. To condense even further: "This doesn't work. At all." $\endgroup$– BassCommented Jul 19, 2023 at 16:07
-
3$\begingroup$ Not to mention a 300-digit number can only range from $10^{299}$ to $10^{300}-1$, not $10^{300}$ to $10^{301}-1$. $\endgroup$– NautilusCommented Jul 20, 2023 at 13:47
-
8$\begingroup$ @Nautilus according to OP's comment on my comment, leading zeros are allowed. So, the range is from $0$ to $10^{300}-1$. $\endgroup$– theozhCommented Jul 21, 2023 at 13:57
Add a comment
|
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- ► mark spoilers by placing >! at start of line
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>
[example](https://example.com)
<a href="https://example.com">example</a> - MathJax equations
$\sin^2 \theta$
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. logical-deduction), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you