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 1096. Get the Right Route Plate!

************* Help me !! 'Get right route'
Posted by Dinh Hong Minh #2 12 Jun 2001 13:45
 - Why the last line in output has 3 number?
 - What range of route ? 1..1000 ?
Thanks
:)
Posted by Dinh Quang Hiep (mg9h@yahoo.com) 12 Jun 2001 20:16
>  - Why the last line in output has 3 number?

Because 1 + 2 = 3 :)

>  - What range of route ? 1..1000 ?

U can use integer type for them, btw, the range of numbers
of route is 1000

> Thanks
Re: :)
Posted by Grigory Makeev 5 Jul 2001 19:44
> U can use integer type for them, btw, the range of
>numbers of route is 1000

No, it's not!
Starting thinking of this problem i mentioned, that there's
nothing said about the numbers of the routes. Are they
Integer, Word or Longint?
I do think, that's a mistake of the creators.
Alright, you say i can use integer to store them. But as i
can see, some of them are greater, than 1000!
Perhaps, it doesn't matter for you, but it does matter for
me, because i just solved if using a primitive Deikstra
algorithm for shortest paths. And i do need to know the
range of route numbers.