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

Обсуждение задачи 1149. Танцы синуса

write recursive functions in java, creating in each instance of running function new object to store string, and receive stupid memory limit exceeded )
Послано messir 26 авг 2010 08:39
Re: write recursive functions in java, creating in each instance of running function new object to store string, and receive stupid memory limit exceeded )
Послано Vedernikoff Sergey (HSE: АОП) 26 авг 2010 12:39
You will get the same verdict writing the same in other languages...
Re: write recursive functions in java, creating in each instance of running function new object to store string, and receive stupid memory limit exceeded )
Послано MOPDOBOPOT (USU) 30 ноя 2010 19:50
I wrote same solution on pascal and crying now :(
MLE 4
How to fix the algorythm for using less memory?

Edited by author 30.11.2010 19:55
Re: write recursive functions in java, creating in each instance of running function new object to store string, and receive stupid memory limit exceeded )
Послано KALO 1 дек 2010 01:28
Only print strings, do not concatenate.
Re: write recursive functions in java, creating in each instance of running function new object to store string, and receive stupid memory limit exceeded )
Послано MOPDOBOPOT (USU) 11 дек 2010 17:57
Oh, thankyou, it's so EASY!
Now, i've got AC :)