0_0_15205089_9889.cpp: In function 'int main()': 0_0_15205089_9889.cpp:24:11: error: 'x' was not declared in this scope cout<< (x>m?-1:m-x)<<endl; ^