0_0_38432969_12988.cpp: In function 'int main()': 0_0_38432969_12988.cpp:42:19: error: 'xmax' was not declared in this scope while(cnt<xmax) ^