fork download
  1. #include <iostream>
  2. #include <vector>
  3. using namespace std;
  4.  
  5. int main() {
  6. vector<int> test = {5};
  7. cout << test.size() << endl;
  8. cout << test[0] << endl;
  9. return 0;
  10. }
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
1
5