0_0_16708312_12726.cpp: In function 'int main()': 0_0_16708312_12726.cpp:46:37: error: 'tem' was not declared in this scope ans=min(sum+ x-x0+ y-tem,ans); ^