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

Обсуждение задачи 1777. Племя аниндилъяква

give same tests please
Послано Nikolay 9 окт 2010 14:40
Re: give some tests please
Послано Maria Tereshina 5 июл 2011 20:08
1 1 2
1

1 2 3
2

234 532 245
3

12345 87654 23456
4

1223456 8098887645 567321
4

12345 654345678 1234567890
5

Edited by author 05.07.2011 20:09
Re: give some tests please
Послано Sepehr 1 сен 2011 22:55
Hey Maria,
Problem states that the input, consists of 3 space-separated pairwise DISTINCT integers so your first example doesn't satisfy conditions and hence, is useless.

Regards,
Sepehr
Re: give some tests please
Послано Nic Roets 2 сен 2011 01:27
99 8 1
3
Re: give some tests please
Послано hopless dreamer 14 сен 2011 18:37
Maria , for test number 4, I think the answer should be 3 :
First aborigine brings a pile of 75309 ( 87654-12345 ) , the second aborigine also brings a pile of 75309 stones , because that's still the biggest difference , and the third points to the two equal piles. Correct me if I'm wrong!
Re: give some tests please
Послано bigtik 16 ноя 2011 04:18
thanks :) got AC after testing you input and fixing the program
P.S. long in JAVA is enough!!!!
Re: give some tests please
Послано Afli 10 июн 2012 14:18
hopless dreamer,
No, u r wrong. The FIRST aborigine will bring the pile of 64198 stones, becouse it's the LEAST. And the second aborigine will bring the pile of 64198 - 23456 = 40742 stones and so on.
Re: give some tests please
Послано thakohov 6 июл 2012 18:07
"Professor asked one of the aborigines to point at two piles with the MINIMAL difference of numbers of stones in them and tell what this difference is."

Edited by author 06.07.2012 18:07

Edited by author 06.07.2012 18:07
Re: give some tests please
Послано Dron-elektron 21 дек 2013 22:52
Big thx :) got AC