Problem factorial_easy
User sussygoose
Submission Time 2026-07-03 14:08:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

factorial_easy.cpp: In function ‘long long int fac(long long int)’:
factorial_easy.cpp:11:15: error: a function-definition is not allowed here before ‘{’ token
11 | signed main() {
| ^
factorial_easy.cpp:14:1: error: expected ‘}’ at end of input
14 | }
| ^
factorial_easy.cpp:7:16: note: to match this ‘{’
7 | int fac(int n) {
| ^