Problem factorial_easy
User ETkilobyte
Submission Time 2024-06-28 07:48:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

factorial_easy.cpp: In function ‘int main()’:
factorial_easy.cpp:10:12: error: invalid operands of types ‘long double’ and ‘int’ to binary ‘operator%’
10 | cout<<x%1000000007;
| ~^~~~~~~~~~~
| | |
| | int
| long double