Borderou de evaluare (job #687802)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Abc 1 (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 ian. 2023 17:01:07 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:5: error: 'fin' was not declared in this scope; did you mean 'sin'?
8 | fin >> a >> b >> c;
| ^~~
| sin
main.cpp:13:5: error: 'fout' was not declared in this scope
13 | fout << d;
| ^~~~
main.cpp:5:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | freopen("abc1.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:6:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
6 | freopen("abc1.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~