fork download
  1. #include <iostream>
  2. #include <vector>
  3. using namespace std;
  4.  
  5. int main() {
  6. std::vector<int> feld = { 7,4,8,2,0 };
  7. feld.insert(feld.begin() + 2, 9);
  8. cout << feld.size() << '\n';
  9. }
Success #stdin #stdout 0s 4188KB
stdin
Standard input is empty
stdout
6