0_0_20117259_25300.cpp: In function 'int main()': 0_0_20117259_25300.cpp:10:30: error: invalid operands of types 'double' and 'int' to binary 'operator%' sum=pow(n*(n+1)/2,2)%10000; ^