fork download
  1. #include <iostream>
  2. #include <bits/stdc++.h>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. int n=5;
  8. int a[]={3,2,1,4,6};
  9. cout<<a[1];
  10.  
  11. return 0;
  12. }
Success #stdin #stdout 0s 5272KB
stdin
Standard input is empty
stdout
2