๐Ÿ“œ โฌ†๏ธ โฌ‡๏ธ

Task for 10 000 rubles

The prize of the winner - 10 000 rubles

There are many six-digit numbers written in the calculus system with a variable base, i.e. Each digit of this numbering system has its maximum value (base minus 1). The number in this system of calculus is written in decimal digits from left to right from the high order to the low order. Discharges are separated by a space. The maximum values โ€‹โ€‹of the digits of this system are โ€œ4 8 15 16 23 42โ€
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 on this system. It is necessary to compile the output file, replacing each number of the input file in this numeration system with the number in the same numeration 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โ€œ.
Input file
konkurs1
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, it will probably be confusing which Sergey won (the name is chosen as an example). We will of course understand by e-mail, but with a nickname easier.
3) Perform the task carefully. Check the results carefully. Wrong result is not counted.
4) All results on Monday through week, February 7 at 14-00

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

Source: https://habr.com/ru/post/112875/


All Articles