Borderou de evaluare (job #1409487)
Utilizator | Data | 30 martie 2015 15:50:51 | |
---|---|---|---|
Problema | Factorial | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void fact(unsigned int)’:
user.cpp:10:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<=a)
^
user.cpp: In function ‘int main()’:
user.cpp:21:9: error: ‘a’ was not declared in this scope
fin >> a;
^
user.cpp:20:6: warning: unused variable ‘P’ [-Wunused-variable]
int P;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !