ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

Postal Van Problem
Posted by Sergio Marquez 18 Aug 2004 06:32
I have problems with this problem somebody can help me?

the problem is in www.sppcontest.org/2003/P8_Vans.pdf

Other favor can you write me to my email

samdsmx@hotmail.com
Re: Postal Van Problem
Posted by morbidel 19 Aug 2004 14:42
Hello!

Here is the formula: b[n] = 2 * b[n - 1] + 2 * b[n - 2] - 2 * b[n - 3] + b[n - 4]. This is for unique roads, here we should multiply by 2 because the direction matters.