All sorts of "abnormal" programming is very popular among fans to break his head over various tasks. Sometimes the program for the next "abnormal" programming environment is already impossible to write manually, but you need to write a generator that creates the code.
In the task that I propose, programs can still be written by hand on some high-level macro assembler.
So, there is a model of some virtual processor that performs only one logical operation - the
Pierce Arrow .
')
UPDATE 4: Published solutions are published and also the original author's version.
UPDATE 3: The new version of the task is ready. Now it should be a little harder to hack, although the technique has remained the same.
UPDATE 2: The winner, Artemev Vasiliy (vasart@gmail.com), offered to sponsor a further break in the form of half the amount of the prize amount. The $ 100 prize goes to Vasily now, but now, to the first person who understands the algorithm of this program, Vasily will transfer half of his prize, that is $ 50. Decisions continue to be made at the old address indicated on the task page.
UPDATE: Problem solved. The first correct decision was received from Artemev Vasiliy. Congratulations to the winner. I propose tour number 2, already free, for fans, in which it is proposed to understand the algorithm that encrypts the password and text strings.
A program is written on this processor, to the input of which a certain password is supplied. If the password is incorrect, then the string "Wrong password!" Is returned. If true, a specific magic message is issued.
Task: in any way find out this magic message. Alternatively, you can, for example, guess the password, and the program itself will give a secret.
The logic is written in such a way that, having understood the algorithm, you can easily decipher the magic message.
In the past I
wrote about the used approach in all details.
The original approach on which my experiment is based was not entirely "clean", since the addition command was taken out for the logic of the processor. In my version, every single command is implemented on the processor itself. To do this, it was necessary to slightly change the interpreter, adding a shift register to it.
For those who want to try to crack my experiment, I made a page on which the above described virtual processor with a single command and a program for it that checks the password is implemented on JavaScript.
So, link to the task:
http://demin.ws/norcpu/norcpu.html
Good luck.
PS For the first hacker - a small prize! Information on the link.