剑指OFFER 06
func twoSum(numbers []int, target int) []int {
ans:=[]int{0,0}
for i,v:=range numbers{
numbersTemp:=append(numbers[:0],numbers[:i+1]...)
for j,u:=range numbersTemp{
if v+u==target{
ans[0]=i
ans[1]=j+j+1
return ans
}
}
}
return ans
}