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

Обсуждение задачи 1414. Астрономическая база данных

How can I get where's the end of commands? There are no files and eof() in pascal won't help.
Michael Rybak (accepted@ukr.net) Simply while not EOF do (-) [6] // Задача 1414. Астрономическая база данных 15 фев 2006 18:30
-
Tbilisi SU: Lutsenko Re: Simply while not EOF do (-) [5] // Задача 1414. Астрономическая база данных 22 фев 2006 20:20
Thanx, but now I have another problem: WA #5.
I'm adding all the stars, was it in the base or not. Then on a query I create a new array with stars matching the mask, but not in this array already. Then quicksort this array and output.
Maybe my algorythm is wrong and I should enter all the stars first, sort them and then output. This may work because only 20 first stars should be printed.
What can you say?
And sorry for my bad english :)
Michael Rybak (accepted@ukr.net) Do you add the word 'sun' at the beginning? (+) // Задача 1414. Астрономическая база данных 23 фев 2006 01:19
Your algo seems to be correct.
I Write Simple Algo But WA 5 too...
Tbilisi SU: Andrew Lutsenko Re: Simply while not EOF do (-) [2] // Задача 1414. Астрономическая база данных 7 апр 2006 18:18
I do add the word "sun" in my base
-
I would be very gratefull, here's my email: zorg-n-ko@nm.ru