fork download
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int n=1e20;
  7. int a[n];
  8. a[n-1]=3;
  9. cout<<a[n-1]<<endl;
  10. }
Success #stdin #stdout 0s 4444KB
stdin
Standard input is empty
stdout
3