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

Общий форум

my method is not good
Послано tjq(killer of zju) 30 сен 2000 23:07
I find my program ran 5 secs to solve problem 1007 and ran
more than 1 secs to solve problem 1004, but many other
authors did much better than I, but how can I improve my
algorithm? I'd like to contact anyone who has got a faster
method! my email is : tjq@hfls.net
Re: my method is not good
Послано tjq(killer of zju) 1 окт 2000 13:46
> I find my program ran 5 secs to solve problem 1007 and
ran
> more than 1 secs to solve problem 1004, but many other
> authors did much better than I, but how can I improve my
> algorithm? I'd like to contact anyone who has got a
faster
> method! my email is : tjq@hfls.net

it's so strange that other authors solve problem 1002 only
use near 300k memory but still run faster than mine , my
program use 600k,
Re: my method is not good
Послано ManWithoutFace (USU) 1 окт 2000 13:55
> it's so strange that other authors solve problem 1002
only
> use near 300k memory but still run faster than mine , my
> program use 600k,

This problem solved by classical dynamic programming.
Hint in 1002:
If number is '111111' why should I keep word 'cat' in
memory? I'll never need it!
Re: my method is not good
Послано tjq(killer of zju) 1 окт 2000 16:05
> > it's so strange that other authors solve problem 1002
> only
> > use near 300k memory but still run faster than mine ,
my
> > program use 600k,
>
> This problem solved by classical dynamic programming.
> Hint in 1002:
> If number is '111111' why should I keep word 'cat' in
> memory? I'll never need it!
>
so I suppose you have done a pre-process? can you send your
source to me, I want to study it, thank you, tjq@hfls.net