Borderou de evaluare (job #810095)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Jbird (clasa a 7-a) | Compilator | cpp-32 |
Rundă | lasm_20_02_2025_clasa11 | Status | evaluat |
Dată | 20 feb. 2025 17:26:28 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void bfs_max_height(int)':
main.cpp:34:5: error: 'fout' was not declared in this scope
34 | fout << max_height << "\n";
| ^~~~
main.cpp: In function 'int main()':
main.cpp:39:5: error: 'fin' was not declared in this scope; did you mean 'sin'?
39 | fin >> N >> Q >> K;
| ^~~
| sin
main.cpp:38:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | freopen("jbird.in", "r", stdin); freopen("jbird.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:38:45: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | freopen("jbird.in", "r", stdin); freopen("jbird.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~