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

Общий форум

Help me with this problem!!!PLEASE!!!!
Послано Slava 31 окт 2005 22:56
On " Games of giants " intellectual competition "Supernumber" in which it was necessary to change in decimal record of natural number N places only two figures that the received number became whenever possible big was carried out.
Help the Ukrainian team "Maski.ua" to win this competition.

The entrance data: In a text file supernum.dat there is only one number N. (0 <N <1060000)
The initial data: In a text file supernum.sol to remove one number received at rearrangement of figures of number N.
Example of entrance and initial files:

Example 1.supernum.dat:supernum.sol:
2015 5012

Example 2.
supernum.dat:supernum.sol:
56556 66555
Re: Help me with this problem!!!PLEASE!!!!
Послано Naruzhnev Oleg 1 ноя 2005 22:01
Why we must help you? You are very bad boy!!!!
Re: Help me with this problem!!!PLEASE!!!!
Послано Odynets 1 ноя 2005 22:03
Re: Help me with this problem!!!PLEASE!!!!
Послано Slava 1 ноя 2005 22:04
Why we must help you? You are very bad boy!!!!
Re: Help me with this problem!!!PLEASE!!!!
Послано Slava 2 ноя 2005 17:45
Ви дауни два, я не вас просив