Borderou de evaluare (job #964806)
Utilizator | Data | 22 iunie 2013 13:25:52 | |
---|---|---|---|
Problema | Factorial | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int isnumber(int)’:
user.cpp:15:13: error: ‘p’ was not declared in this scope
if ( nr == p )
^
user.cpp: In function ‘void cauta(int, int)’:
user.cpp:31:8: error: ‘p’ was not declared in this scope
if (p < nr)
^
user.cpp: In function ‘int main()’:
user.cpp:42:2: error: ‘f’ was not declared in this scope
f = fopen("fact.in", "r");
^
user.cpp:43:19: error: ‘p’ was not declared in this scope
fscanf(f, "%d", &p);
^
user.cpp:45:22: warning: overflow in implicit constant conversion [-Woverflow]
cauta(1, 10000000000);
^
user.cpp:50:2: error: ‘g’ was not declared in this scope
g = fopen("fact.out", "w");
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !