Borderou de evaluare (job #2715294)
Utilizator | Data | 3 martie 2021 15:08:28 | |
---|---|---|---|
Problema | Inv | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:50:21: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'int'
mergee (1, n, nr);
^
main.cpp:35:6: note: initializing argument 3 of 'void mergee(int, int, int&)'
void mergee (int st, int dr, int &nr){
^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !