Problem factorial_easy
User YellowKing
Submission Time 2026-06-24 16:50:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

factorial_easy.cpp: In function ‘int main()’:
factorial_easy.cpp:5:27: error: expected primary-expression before ‘;’ token
5 | const long long MOD = ;
| ^
factorial_easy.cpp:7:9: error: ‘fact’ was not declared in this scope
7 | fact = (fact * i) % 1000000007;
| ^~~~
factorial_easy.cpp:9:13: error: ‘fact’ was not declared in this scope
9 | cout << fact;
| ^~~~