0_0_32884638_31188.cpp: In function 'int main()': 0_0_32884638_31188.cpp:27:9: error: expected ';' before 'scanf' scanf("%lld%lld%d%d",&x,&m,&k,&c); ^