fork download
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7. vector<int> v1 = {1, 3, 5, 2, 4};
  8. cout << *(v1.begin());
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5308KB
stdin
Standard input is empty
stdout
1