0_0_37607869_15885.cpp: In function 'int main()': 0_0_37607869_15885.cpp:10:19: error: invalid operands of types '__gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}' and 'int' to binary 'operator%' cout<<pow(k,2)%10000<<endl; ^