0_0_18437721_20953.cpp: In function 'int main()': 0_0_18437721_20953.cpp:31:32: error: 'p' was not declared in this scope printf("Case #%d: %d %d\n",i,y/p,x/p); ^