Problem factorial_easy
User Junxian
Submission Time 2026-02-22 12:49:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

factorial_easy.cpp: In function ‘int main()’:
factorial_easy.cpp:8:13: error: invalid type argument of unary ‘*’ (have ‘long long int’)
8 | result =* n;
| ^
factorial_easy.cpp:10:31: error: expected ‘;’ before ‘}’ token
10 | cout << (result % 1000000007)
| ^
| ;
11 | }
| ~