fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4.  
  5. int main() {
  6. vector<int> V;
  7. V.push_back(1);
  8. cout << V.size() << endl;
  9. cout << V.capacity() << endl;
  10.  
  11. const int &m = 10;
  12. int n = 10;
  13. // your code goes here
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
1
1