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

Обсуждение задачи 1220. Stacks

what you doing with your c++ compiler!!!!
Послано Alias (Alexander Prudaev) 6 май 2007 14:59
no body can solve this problem using C++

const int NN = 100000;
int a[NN];
unsigned short b[NN];

gets MLE #10 !

Edited by author 06.05.2007 15:00
Re: what you doing with your c++ compiler!!!!
Послано Tusnad Nobrovirski 6 май 2007 15:36
I have the same problem :(
No subject
Послано [SPbSU ITMO] WiNGeR 7 май 2007 01:37
You can use bit operations with this code:

const int NN = 100000;
int a[NN];
int b[NN / 2];
Re: No subject
Послано KIRILL(ArcSTU) 7 май 2007 03:31
[SPbSU ITMO] WiNGeR писал(a) 7 мая 2007 01:37
You can use bit operations with this code:

const int NN = 100000;
int a[NN];
int b[NN / 2];

It's also 6*10^5
I think admins can subtract ~200K from memory result

Re: No subject
Послано Alias (Alexander Prudaev) 7 май 2007 19:59
i can use unsigned short[NN]
of course, if i have normal compiler
It seems your life is really one big bug :) (+)
Послано Dmitry 'Diman_YES' Kovalioff 7 май 2007 22:54
If you experience some technical problems it is faster to contact Vladimir Yakovlev directly through:

1) e-mail;
2) ICQ;
3) mobile phone.

P.S. The best C++ compiler ever is used on Timus Online Judge, and you still complain...
Re: It seems your life is really one big bug :) (+)
Послано Alias (Alexander Prudaev) 8 май 2007 20:52
year ago i solve this problem, now my AC program gets MLE
it is really problem