0_0_33166217_15151.cpp: In function 'int main()': 0_0_33166217_15151.cpp:7:17: error: expected primary-expression before ';' token int sum=0,m=; ^ 0_0_33166217_15151.cpp:17:22: error: 'max' was not declared in this scope m=max(x,m); ^