fork download
  1. #include <deque>
  2. #include <vector>
  3. int main()
  4. {
  5. std::deque<std::vector<int>> myList;
  6. for(int i=0; i<100; i++) {
  7. myList.emplace_back(1000);
  8. }
  9. myList.clear();
  10. }
  11.  
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
Standard output is empty