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

Обсуждение задачи 1025. Демократия в опасности

can anybody tell me which sorting algo to apply? i am exceeding time limit
Re: can anybody tell me which sorting algo to apply? i am exceeding time limit
i have tried this with heap,bubble and insertion sort. Even i tried using sorted link list. then i tried this without any sorting with arrays. still my time limit is exceeding for test 1 . please give me some hints.
Re: can anybody tell me which sorting algo to apply? i am exceeding time limit
Послано Alias (Alexander Prudaev) 8 дек 2007 19:58
the timel limit is not because of sorting.
the bubble sort must work fast enough
Re: can anybody tell me which sorting algo to apply? i am exceeding time limit
Послано Alias (Alexander Prudaev) 8 дек 2007 20:03
you can show me your code and i will find your bug
twoalias@inbox.ru
Re: can anybody tell me which sorting algo to apply? i am exceeding time limit
i have omitted the bug of exceeding time limit. but now it says wrong answer. can anybody provide me some test cases please
?