Borderou de evaluare (job #683130)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Monsters (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 21 dec. 2022 10:17:32 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:31:5: error: 'frepen' was not declared in this scope; did you mean 'freopen'?
31 | frepen("monsters.out", "w", stdout);
| ^~~~~~
| freopen
main.cpp:30:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | freopen("monsters.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~