0_0_14944403_21025.cpp: In function 'int main()': 0_0_14944403_21025.cpp:58:27: error: 'res' was not declared in this scope printf("%d\n",res); ^