Borderou de evaluare (job #811021)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Schi (clasa a 7-a) | Compilator | cpp-32 |
Rundă | lasm_22_02_2025_clasa10_11 | Status | evaluat |
Dată | 22 feb. 2025 17:56:22 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:9: error: redeclaration of 'int n'
13 | int n;
| ^
main.cpp:7:9: note: 'int n' previously declared here
7 | int n;
| ^
main.cpp:25:12: error: 'class std::vector<int>' has no member named 'push_bacn'; did you mean 'push_back'?
25 | ml.push_bacn(mx);
| ^~~~~~~~~
| push_back
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("schi.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("schi.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~