0_0_29167528_14218.cpp: In function 'int main()': 0_0_29167528_14218.cpp:38:17: error: 'dis' was not declared in this scope cout << max(c,dis) << endl; ^