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

Discussion of Problem 1980. Road to Investor

What is test 1? I always have runtime error
Posted by Felix_Mate 29 Jul 2016 22:54
Короче, баг был в коде for (int i = 1; i <= nmax; i++) adress[i] = NULL; - знак должен быть СТРОГИЙ!

Edited by author 26.08.2016 20:54
Is there any limit on overspeeding value ?
Posted by Hena Firdaus 1 Sep 2016 10:05
will the overspeeding value always lie between 0 to 300 ?
Re: Is there any limit on overspeeding value ?
Posted by Felix_Mate 1 Sep 2016 20:44
No.
Test:
2 1
1 2 1 1000
1
Ans:
999.000000 1
1

HINT: overspeeding value is max when s->min,l->min,t->min, path->max

Edited by author 01.09.2016 20:45