Within an intelligence organization, secret agents transfer coded publications through designated post office boxes. For enhanced security, each agent is permitted knowledge of the post office box locations assigned to no more than two other agents.
- If an agent intends to transmit a message to another agent, they should deliver the magazine directly to the recipient’s post office box. Alternatively, if the agent does not possess the specific address, the magazine should be sent to all known agents for whom addresses are available.
- Upon receipt of the magazine by an agent who identifies themselves as not the intended recipient, it is their responsibility to forward the magazine to all agents whose addresses they have.
- Prioritization rule: always send/forward it first to the agent with the lowest number among the known addresses.
The graph below represents the agents who know each other's addresses.
a) The distance between agent 001 to 005 is 3
b) The distance between agent 002 to 001 is 4
c) The distance between agent 003 to 002 is 1
d) The distance between agent 007 to 005 is 5
e) None of the above
Original idea by: Jonas H. Ribeiro Paula

Linda questão, Jonas, mas há duas alternativas corretas: c e d.
ResponderExcluir