package main
/**
*
* @param numbers int整型一维数组
* @param target int整型
* @return int整型一维数组
*/
func twoSum( numbers []int , target int ) []int {
// write code here
m := make(map[int]int)
for k,v := range numbers {
if i,ok := m[target-v];ok{
return []int{i+1,k+1}
}
m[v] = k
}
return []int{}
}