0_0_18096117_2647.cpp: In function 'int main()': 0_0_18096117_2647.cpp:19:39: error: expected ')' before ';' token ans=((ans*10+(s[i]-'0'))%d; ^