0_0_38977498_30849.cpp: In function 'int main()':
0_0_38977498_30849.cpp:13:46: error: invalid operands of types 'double' and 'int' to binary 'operator%'
13 | cout<<((1+(1+(t-1)*2))*t/2.0)%10000<<endl;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
| | |
| | int
| double
|