Question 814403
The solution is a=-3,b=2,c=3,d=1,e=-2,f=-1,g=0.

This gives us (-3)^2 + 3^1 + (-2)^-1 + 0
             = 9 + 3 +(1/-2) + 0
             = 12 -1/2 + 0
             = 11 1/2

(-3) is matched with 2 to give the maximum for the first pairing.
The remaining integers are -2,-1,0,1 and 3.
Next we want to maximize the next pair involving 3.
This gives us 3^1 .
The remaining integers are now -2,-1, and 0 .
Minimizing the impact of the negative numbers we have (-2)^-1
which reduces to -1/2.