ozantabak
BAN USERnumbers are not tree ids,
they are how much you should shoot on each tree
let me clarify;
T1 T2 T3 T4 T5
n=5 1shot -> 4 shots -> 6 shots -> 4 shots -> 1shot
shoot from left to right , until that tree has 0 shots left :
shoot first tree 1 time, 2nd tree 4 times, 3rd tree 6 times....
[edit: wrong solution, dont bother :)]
Its about combinations, so i think of binomial coefficients, use levels of pascal's triangle for each n > 2 and shoot from left to right or right to left like:
1
1 1
n = 3 1 2 1
n = 4 1 3 3 1
n = 5 1 4 6 4 1
and continue...
to clarify:
T1 T2 T3 T4 T5
n=5 1shot -> 4 shots -> 6 shots -> 4 shots -> 1shot
shoot from left to right , until that tree has 0 shots left :
shoot first tree 1 time, 2nd tree 4 times, 3rd tree 6 times....
comments are welcome
yep, you're totally right, i didn't see that
- ozantabak February 24, 2013