Timed 3 - answer clarification


IPYouFy
Member
Registered: 28.04.12 20:23
Timezone: UTC +2
Posts: 4

Hi,

from the challenge description I would expect that the answer for following processes would be "2" but it was incorrect:

0 4
1 11
2 3
3 12

If I understood it correctly, the flow should be:
P0 executes for 4ms and completes.
P1 executes for 4ms.
P2 executes for 3ms and completes.

Hence the answer "2".

Did I misunderstood something? Or maybe the timeout is really low (it seemed to have been answered instantly though)?


ynori7
Administrator
Registered: 24.08.11 12:16
Timezone: UTC +2
Posts: 165

You're right, there was a bug there. I had forgotten it was starting at 0 instead of 1. Should work fine now.

i537.photobucket.com/albums/ff338/ynori77/archenemysig1.jpg