0_0_23844357_26071.cpp: In function 'int main()': 0_0_23844357_26071.cpp:44:4: error: expected ',' or ';' before 'printf' printf("%I64d/%I64d\n",q/g,p/g); ^