2489 - Spreading Gossip

Problems from South Pacific regional contest

Moderator: Board moderators

2489 - Spreading Gossip

Postby serur » Thu Feb 01, 2007 9:19 am

Only anupam got it working, and no one else...
But is it not just bfs? Dimaeter of a bfs-tree, associated with the first house?
what does this mean:
n 20


may be n <= 20, or some digist are missing?
No rest with the wicked
serur
Experienced poster
 
Posts: 70
Joined: Thu Feb 23, 2006 10:30 pm

Postby mjd » Sat Sep 22, 2007 12:24 am

This is the graph broadcast problem (do a google search), where telephone
calls are made to distributed a message. It is a NP-complete problem
so the restriction for n <= 20 houses means that a backtracking brute-force
algorithm is required.
mjd
New poster
 
Posts: 1
Joined: Sat Sep 22, 2007 12:21 am


Return to South Pacific

Who is online

Users browsing this forum: No registered users and 0 guests

cron