In the first case (5 5 1 50 50 4 0 2), for example I think the output should be 9 6 6 4 and not 8 7 6 4 because:
Code: Select all
X = paintball
00000 00000 00000 00000 00000 00000 00000 00000 0000X
00000 00000 00000 00000 00000 0000X 0000X 0000X 0000X
00000 --> 00000 --> 00000 --> 0000X --> 0000X --> 0000X --> 0000X --> 000XX --> 000XX
00000 0000X 0000X 0000X 000XX 000XX 000XX 000XX 000XX
0000X 0000X 000XX 000XX 000XX 000XX 00XXX 00XXX 00XXX
t=1 t=2 t=3 t=4 t=5 t=6 t=7 t=8 t=9 ...
Can anybody explain me this strange thing???
Thanks