The description of the puzzle states that it's okay not to get the correct answer in the 10 minutes, which implies that they are looking to see how you reached your answer. They want to see if you are able to work out how to approach the puzzle, and also if you can explain your throught process to someone else.
I've just solved the problem by grabbing a pen and drawing the 12 boxes out on a piece of paper and then writing the current values underneath. Then follow the flowchart - as a value get's replaced in a box (or variable), write the new value underneath. The resulting paper looked something like this:
...with 55 in box/variable 11.
(I spent far too much time formatting that!)
I've just solved the problem by grabbing a pen and drawing the 12 boxes out on a piece of paper and then writing the current values underneath. Then follow the flowchart - as a value get's replaced in a box (or variable), write the new value underneath. The resulting paper looked something like this:
Code:
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
-------------------------------------------------------------
2 1 4 4 6 5 2 12 5 19 1 0
1 4 9 55
3 3
5 9
8
64
...with 55 in box/variable 11.
(I spent far too much time formatting that!)