Borderou de evaluare (job #2348043)
Utilizator | Data | 19 februarie 2019 12:17:51 | |
---|---|---|---|
Problema | Factorial | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int factorial(int)':
main.cpp:15:1: error: expected primary-expression before '}' token
}
^
main.cpp:10:23: warning: unused variable 's' [-Wunused-variable]
long long int i,j,s=0,x=1,y=5,f;
^
main.cpp:10:27: warning: unused variable 'x' [-Wunused-variable]
long long int i,j,s=0,x=1,y=5,f;
^
main.cpp:10:31: warning: unused variable 'y' [-Wunused-variable]
long long int i,j,s=0,x=1,y=5,f;
^
main.cpp:10:35: warning: unused variable 'f' [-Wunused-variable]
long long int i,j,s=0,x=1,y=5,f;
^
main.cpp:15:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !