Borderou de evaluare (job #749438)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Factor (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 dec. 2023 21:28:15 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:16: error: 'fout' was not declared in this scope
18 | if( n < 0 ) fout << 0 ;
| ^~~~
main.cpp:54:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
54 | else
| ^~~~
main.cpp:57:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
57 | inFile.close();
| ^~~~~~