ENG
RUS
Timus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум
Обсуждение задачи
1174
. Weird Permutations
Alexey
How to solve this problem? (-)
[2] // Задача
1174. Weird Permutations
10 июл 2006 15:34
AlexF
Re: How to solve this problem? (-)
[1] // Задача
1174. Weird Permutations
24 июл 2006 19:12
You should find something interesting in the list of permutations which their program gives to you. )
Roks
Re: How to solve this problem? (-)
// Задача
1174. Weird Permutations
31 авг 2008 06:44
You should try to find some recurrence relation. Also this problem seems to be connected with Gray codes, but I hadn't used them in my solution. You also can find handfull next article about this algo
http://en.wikipedia.org/wiki/Steinhaus-Johnson-Trotter_algorithm
© 2000–2026
Timus Online Judge Team
. Все права защищены.