Borderou de evaluare (job #802946)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bani | Compilator | cpp-32 |
Rundă | lasm_09_01_2025_clasa12 | Status | evaluat |
Dată | 9 ian. 2025 10:25:11 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:9: error: 'fropen' was not declared in this scope; did you mean 'freopen'?
8 | fropen("bani.out", "w", stdout);
| ^~~~~~
| freopen
main.cpp:7:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | freopen("bani.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~