0_0_31229761_8820.cpp: In function 'int main()': 0_0_31229761_8820.cpp:6:50: error: invalid operands of types 'int' and 'double' to binary 'operator%' while(~scanf("%d",&n)) printf("%d\n",n%(1e6+3)); ^