vector<int> ret;
if (numbers.empty())
{
return ret;
}</int>
int i = 0; int j = 0; for (; i < numbers.size(); ++i) { for (j = i + 1; j < numbers.size(); ++j) { if (numbers[i] + numbers[j] == target) { ret.push_back(i + 1); ret.push_back(j + 1); break; } } if (ret.size() > 0) { break; } } return ret;