Search found 4 matches

by remerson
Sat Mar 01, 2014 1:21 pm
Forum: Volume 10 (1000-1099)
Topic: 1064 - Network
Replies: 6
Views: 7561

Re: 1064 - Network

Thank you very much Brian - I understand now.
by remerson
Sat Feb 22, 2014 2:47 pm
Forum: Volume 10 (1000-1099)
Topic: 1064 - Network
Replies: 6
Views: 7561

1064 - Network

I can follow the sample I/O but I can see more than one algorithm that gives the same output. E.g. "optimistic packet passing/as-soon-as-possible" or "buffering full message re-assembly."

Could someone please explain the output for these test cases:


1 1
1
1 1 1
2 2
1 1
2 1 1
1 1 1
2 4
4 4
1 1 2 ...
by remerson
Thu Feb 07, 2013 9:45 pm
Forum: Volume 117 (11700-11799)
Topic: 11749 - Poor Trade Advisor
Replies: 10
Views: 5295

Re: 11749 : Didn't understand

You don't need to initialise the PPA value with an arbitrary negative value because the problem states clearly that M > 0 so there will always be an initial edge to initialise from.

It is a nice problem but the description is not the easiest to follow and bit confusing. The term "average" is very ...
by remerson
Sun Jun 05, 2011 7:27 pm
Forum: Volume 3 (300-399)
Topic: 336 - A Node Too Far
Replies: 121
Views: 58739

Re: 336 WA

I've finally solved this after one wrong answer and a few hours. It is more fiddly than it first looks. I managed rank 62/2333

Some gotchas/hints:

1) Algorithm is graph BFS and with a non-recursive depth track twist. I personally did this with an adjacency list but a matrix should work equally ...

Go to advanced search