Ad
  • Custom User Avatar

    You can improve your solution. Try change int i = 0 to size_t i = 0. Because you will not find any negative values. Your numbers.size() can't be -1 or -1000.