Borderou de evaluare (job #675757)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bac (clasele 6/7) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 14 nov. 2022 15:43:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:30:5: error: 'frepen' was not declared in this scope; did you mean 'freopen'?
30 | frepen("bac.out", "w", stdout);
| ^~~~~~
| freopen
main.cpp:29:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | freopen("bac.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~