fork download
  1. #include <iostream>
  2. #include <vector>
  3. using namespace std;
  4.  
  5.  
  6. int main()
  7. {
  8. vector<vector<pair<int, int>>> vv;
  9. cout <<vv.size() << endl;
  10. auto it = vv.insert(vv.end(), {});
  11. cout <<vv.size() << endl;
  12. //cout << it->size() << endl;
  13. cout << (it == vv.end())<< endl;
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 4472KB
stdin
Standard input is empty
stdout
0
0
1