Computer Science Canada Making A Facebook Type Program "Degrees Of Separation" |
Author: | SkaterDrummer678 [ Sun Apr 19, 2009 2:13 pm ] | ||||||
Post subject: | Making A Facebook Type Program "Degrees Of Separation" | ||||||
I need help with this program or at least instructions/suggestions on how to finish this program.
Mod Edit: Remember to use syntax and code tags! Thanks ![]()
|
Author: | saltpro15 [ Sun Apr 19, 2009 2:26 pm ] |
Post subject: | RE:Making A Facebook Type Program "Degrees Of Separation" |
this was s3 of this year's CCC contest, a sample solution can be found here |
Author: | Tony [ Sun Apr 19, 2009 2:27 pm ] |
Post subject: | RE:Making A Facebook Type Program "Degrees Of Separation" |
shortest path in a graph. |
Author: | SkaterDrummer678 [ Sun Apr 19, 2009 6:34 pm ] |
Post subject: | Re: RE:Making A Facebook Type Program "Degrees Of Separation" |
saltpro15 @ Sun Apr 19, 2009 2:26 pm wrote: this was s3 of this year's CCC contest, a sample solution can be found here
Thanks man but for some reason everytime i try to load the page is says "Page Load Error" so i tried doing the whole Google and Cached way of viewing the page but theres no way to see the actual S3 problem. And the code i posted was as far as i got in the competition ![]() |
Author: | saltpro15 [ Sun Apr 19, 2009 6:55 pm ] |
Post subject: | RE:Making A Facebook Type Program "Degrees Of Separation" |
uh-oh, I guess that milliken mills teacher is slacking ![]() |
Author: | Analysis Mode [ Sun Apr 19, 2009 8:05 pm ] |
Post subject: | Re: Making A Facebook Type Program "Degrees Of Separation" |
yeah, BFS works, but because the graph had at most 100 vertices, you shold use Floyd-Warshall's ALgorithm. IT's kind of hard to code a four-line algorithm wrong. |
Author: | saltpro15 [ Sun Apr 19, 2009 8:17 pm ] |
Post subject: | RE:Making A Facebook Type Program "Degrees Of Separation" |
oh right, thanks Analysis, I forgot about Floyd-Warshall |