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

Обсуждение задачи 1581. Работа в команде

Anybody know what the 4-th test is?Please give me some tests!Thank!
Послано CHIDEMYAN SERGEY 16 окт 2007 02:16
I think my algo correct,but wa#4.Please give me 4-th test(if you know) or some interesting tests.Thank!!!

Edited by author 16.10.2007 02:18

Edited by author 16.10.2007 13:35

Edited by author 17.10.2007 18:31
Same Problem Here
Послано jagatsastry 16 окт 2007 22:59
I wrote the same program twice- once using the stl map and once using ordinary int array. Dont know what the 4th test case is.
Re: I think more easy.Here is my source:
Послано CHIDEMYAN SERGEY 17 окт 2007 18:26
[code deleted]
Please, give me test,which on my program gives WA.Thank!

Edited by author 17.10.2007 18:30

Edited by author 21.10.2007 18:43
Re: I think more easy.Here is my source:
Послано Romko [Lviv NU] 19 окт 2007 02:07
First time I've got WA#4 becouse of this test:
6
1 1 2 1 1 1

ans :
2 1 1 2 3 1
Re: I think more easy.Here is my source:
Послано CHIDEMYAN SERGEY 21 окт 2007 18:43
Thank you very much!!!
Re: I think more easy.Here is my source:
Послано PSV 15 ноя 2007 03:19
Are U crazy guys? Algo is obvious - what a f..in data structures?
Re: I think more easy.Here is my source:
Послано Freezing Sun 4 мар 2009 19:13
Well, I've tried both answers for the test

6
1 1 2 1 1 1

(2 1 1 2 3 1, 5 1 1 2) but I still get WA#4
Does anyone know why is this so. Thanks in advance.
Re: I think more easy.Here is my source:
Послано yaho0o0 7 апр 2009 20:51
you count all 1 and because of these it output 5 1.
Re: I think more easy.Here is my source:
Послано yaho0o0 7 апр 2009 21:04
you count all 1 and because of these it output 5 1

Edited by author 07.04.2009 21:13
Re: I think more easy.Here is my source:
Послано Jumabek_Alihonov 16 сен 2011 16:49
thank you Romko[lviv NU]