0_0_15110602_26955.cpp: In function 'int main()': 0_0_15110602_26955.cpp:33:20: error: 'x' was not declared in this scope if(x>i) maxx=max(maxx,a[i]+a[r]); ^