ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1096. Таблички с номерами маршрутов

************* Help me !! 'Get right route'
Послано Dinh Hong Minh #2 12 июн 2001 13:45
 - Why the last line in output has 3 number?
 - What range of route ? 1..1000 ?
Thanks
:)
Послано Dinh Quang Hiep (mg9h@yahoo.com) 12 июн 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: :)
Послано Grigory Makeev 5 июл 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.