Borderou de evaluare (job #2867591)
| Utilizator | Data | 10 martie 2022 14:02:04 | |
|---|---|---|---|
| Problema | Arbori indexati binar | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void construire(int64_t&)':
main.cpp:29:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint64_t' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i=1;i<=n;i++)
| ~^~~
main.cpp: In function 'int main()':
main.cpp:71:16: error: cannot bind non-const lvalue reference of type 'int64_t&' {aka 'long int&'} to an rvalue of type 'int64_t' {aka 'long int'}
71 | construire(m);
| ^
main.cpp:27:26: note: initializing argument 1 of 'void construire(int64_t&)'
27 | void construire(int64_t &m)
| ~~~~~~~~~^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
