fork(1) 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 res=max(go(),v[0]);
  13. cout<<res<<endl;
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5272KB
stdin
Standard input is empty
stdout
-1