0_0_29354397_11362.cpp: In function 'int main()': 0_0_29354397_11362.cpp:12:25: error: invalid operands of types '__gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}' and 'int' to binary 'operator%' all=(all+pow(num,3))%10000; ^