ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

Help me with this problem!!!PLEASE!!!!
Posted by Slava 31 Oct 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!!!!
Posted by Naruzhnev Oleg 1 Nov 2005 22:01
Why we must help you? You are very bad boy!!!!
Re: Help me with this problem!!!PLEASE!!!!
Posted by Odynets 1 Nov 2005 22:03
Re: Help me with this problem!!!PLEASE!!!!
Posted by Slava 1 Nov 2005 22:04
Why we must help you? You are very bad boy!!!!
Re: Help me with this problem!!!PLEASE!!!!
Posted by Slava 2 Nov 2005 17:45
Ви дауни два, я не вас просив