0_0_32501141_28214.cpp: In function 'int main()': 0_0_32501141_28214.cpp:73:21: error: expected ',' or ';' before 'printf' printf("(%d %d)--(%d %d)\n",i+1,j+1,r+1,c+1); ^