Borderou de evaluare (job #3133774)
Utilizator | Data | 26 mai 2023 20:45:13 | |
---|---|---|---|
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:67:34: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
67 | query(1,1,n,1,V[i]-1,k);
| ^
main.cpp:34:57: note: initializing argument 6 of 'void query(int, int, int, int, int, int&)'
34 | void query(int node, int le, int ri, int x, int y, int &nr)
| ~~~~~^~
main.cpp:71:32: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
71 | query(1,1,n,1,V[i],k);
| ^
main.cpp:34:57: note: initializing argument 6 of 'void query(int, int, int, int, int, int&)'
34 | void query(int node, int le, int ri, int x, int y, int &nr)
| ~~~~~^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !