ENG
RUS
Timus 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
Discussion of Problem
1359
. Construction
hint formyla (+)
Posted by
ACM.Krupko_Victor[Ivanovo SPU]
19 Jun 2005 23:11
o(n^4) algoritm
cos:=(j-j1)/sqrt(sqr(i-i1)+sqr(j-j1));
f (a[i1,j1]>a[i,j]+abs(v[j]-v[j1])/(g*cos)) or (a[i1,j1]=0) then a[i1,j1]:=a[i,j]+abs(v[j]-v[j1])/(g*cos);
What does the massiv V mean here? (-)
Posted by
exwRabbits_AlMag(VNTU)
12 Jul 2006 14:19
© 2000–2026
Timus Online Judge Team
. All rights reserved.