fork download
  1. #include <iostream>
  2. #include<vector>
  3. using namespace std;
  4.  
  5. int main() {
  6. vector<int>v{1,2};
  7. for(int&i:v)
  8. cout<<i;// your code goes here
  9. return 0;// your code goes here
  10.  
  11. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
12