Problem eescapism
User Henries
Submission Time 2024-10-21 22:18:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eescapism.cpp: In function ‘long double apsum(long double)’:
eescapism.cpp:5:13: error: invalid operands of types ‘long double’ and ‘int’ to binary ‘operator>>’
5 | return (num>>2)*(2*1+(num-1)*1);
| ~~~^~~
| | |
| | int
| long double