Skip to content

UVa 590

WinDaLex edited this page Jul 7, 2013 · 1 revision

f(x,y)=Min\left { f(x-1,i)+cost(i,y,d))|1\leq i\leq N \right,d= (x - 1)%(D(i,y)) }

Clone this wiki locally