| Problem | factorial_easy |
|---|---|
| User | bachnguyen123 |
| Submission Time | 2025-11-07 15:30:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
factorial_easy.cpp: In function ‘long long int factor(long long int)’:
factorial_easy.cpp:7:30: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
7 | return (factor(n-1) * n) % mod;
| ~~~~~~~~~~~~~~~~~ ^
| |
| long long int