fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. int max(const int&x,const int&y){return x<y?y:x;}
  4. vector<int>v;
  5. int go(){
  6. while(v.size()<100)v.push_back(0);
  7. return -1;
  8. }
  9. int main() {
  10. v.resize(1,0);
  11. v[0]=1;
  12. int l = go();
  13. int r = v[0];
  14. int res=max(l, r);
  15. cout<<res<<endl;
  16. return 0;
  17. }
Success #stdin #stdout 0.01s 5264KB
stdin
Standard input is empty
stdout
1