Back to Home

Task for 10,000 rubles

Winner prize - 10 · 000 rubles. There are many six-digit numbers recorded in a variable-number system · i.e. Each rank of this calculus has its own ...

Task for 10,000 rubles

    Winner prize - 10,000 rubles.

    There are many six-digit numbers recorded in a variable-number system, i.e. each digit of this calculus has its maximum value (base minus 1). The number in this system of calculation is written in decimal numbers-digits from left to right from the highest to the lowest digit. The digits are separated by a space. The maximum digits of this system are “4 8 15 16 23 42”, the
    minimum number
    “0 0 0 0 0 0” corresponds to the number “0 ″ in the decimal system,
    “ 0 0 0 0 0 42 ”corresponds to the number“ 42 ″ in the decimal system,
    “ 0 0 0 0 1 0 ”corresponds to the number“ 43 ″ in the decimal system, etc.
    The input file contains a list of numbers recorded in this system. It is necessary to compile the output file by replacing each number of the input file in this calculus system with a number in the same calculus system following it.
    Example:
    In the input file “1 3 12 22 0 11“. In the output, “1 3 12 22 0 12“.
    In the input file “2 0 0 16 23 42“. In the output, “2 0 1 0 0 0“. Konkurs1
    input file Good luck! Details here UPD 1) Please send a file, the source code is not needed and will not be protected. 2) Come up with a unique nickname. If, for example, your name is Sergey and you win, then there will probably be confusion about which one Sergey won (the name is chosen as an example). Of course we will figure it out by e-mail, but it’s easier with a nickname.






    3) Perform the task carefully. Check the result carefully. An incorrect result does not count.
    4) All results on Monday a week, February 7 at 14-00

    UPD
    At the request of the participants, the time of the competition is reduced. The right decisions are already there, the winner is known. After processing all the answers, the results will be announced. Thanks to everyone who participated!

    UPD
    Contest Results

    Read Next