Borderou de evaluare (job #800269)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ace (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 dec. 2024 17:02:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:53:29: error: 'poz' was not declared in this scope; did you mean 'pow'?
53 | for (int i = n - 2; i > poz; --i) {
| ^~~
| pow
main.cpp:68:21: error: 'i' was not declared in this scope
68 | poz_v = i;
| ^
main.cpp:62:12: warning: unused variable 'maxim_tan_vest' [-Wunused-variable]
62 | double maxim_tan_vest = MAX_SIZE * MAX_SIZE + 2;
| ^~~~~~~~~~~~~~