Borderou de evaluare (job #810731)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Fib (clasa a 6-a) | Compilator | cpp-32 |
Rundă | lasm_22_02_2025_clasa10_11 | Status | evaluat |
Dată | 22 feb. 2025 09:50:56 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:58:16: error: cannot bind non-const lvalue reference of type 'std::vector<short int>&' to an rvalue of type 'std::vector<short int>'
58 | afisare(fib(n));
| ~~~^~~
main.cpp:6:18: note: initializing argument 1 of 'void afisare(std::vector<short int>&)'
6 | void afisare(vi &a)
| ^