MHB Minimal number of successful communication

  • Thread starter Thread starter mathmari
  • Start date Start date
  • Tags Tags
    Communication
AI Thread Summary
The discussion revolves around a problem involving three armies: A, B, and C, with a mountain obstructing communication between A and B. The challenge is to determine the minimal number of times a pigeon must successfully cross the mountain for A and B to coordinate an attack against army C. A suggests that A should send a message to B indicating a planned attack, contingent on receiving confirmation from B about their own attack timing. The conversation emphasizes the need for reliable communication between A and B before launching an attack, highlighting the uncertainty of the pigeon's successful delivery across the mountain. The participants are seeking further insights on how to effectively solve the problem while ensuring both armies are synchronized in their actions.
mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

I got stuck with the following exercise:

There are three armies A,B,C. Between the armies A and B there is a mountain. Only A and B together can beat the army C. A and B can only comminicate with a pigeon. But it is not sure that the pigeon gets to the other side of the mountain.
Which is the minimal number of times where the pigeon gets to the other side of the mountain??

Could you give me some hints what I am supposed t do?? (Wondering)
 
Last edited by a moderator:
Technology news on Phys.org
mathmari said:
Hey! :o

I got stuck with the following exercise:

There are three armies A,B,C. Between the armies A and B there is a mountain. Only A and B together can beat the army C. A and B can only comminicate with a pigeon. But it is not sure that the pigeon gets to the other side of the mountain.
Which is the minimal number of times where the pigeon gets to the other side of the mountain??

Could you give me some hints what I am supposed t do?? (Wondering)

Hi! (Smile)

Before either A or B attacks they will both want to know for sure if and when the other attacks.
So A must have confirmation that B received his message.

Let's say that A starts by sending a pigeon to B, saying that A will attack tomorrow at noon, but only if he gets confirmation from B, that he will also attack at the same time. (Thinking)

How does this story continue? (Wondering)
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
5
Views
1K
Replies
2
Views
2K
Replies
4
Views
1K
Replies
1
Views
2K
Replies
7
Views
2K
Replies
9
Views
2K
Replies
15
Views
2K
Back
Top