Borderou de evaluare (job #3123006)
Utilizator | Data | 21 aprilie 2023 17:41:16 | |
---|---|---|---|
Problema | Peri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void read()':
main.cpp:16:8: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
16 | fr(n),fr(m);
| ^
main.cpp:9:21: note: initializing argument 1 of 'void fr(int&)'
9 | inline void fr(int &n){
| ~~~~~^
main.cpp:16:14: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
16 | fr(n),fr(m);
| ^
main.cpp:9:21: note: initializing argument 1 of 'void fr(int&)'
9 | inline void fr(int &n){
| ~~~~~^
main.cpp:19:22: error: cannot bind non-const lvalue reference of type 'int&' to a value of type 'long long int'
19 | fr(a[i][j]);
| ~~~~~~^
main.cpp:9:21: note: initializing argument 1 of 'void fr(int&)'
9 | inline void fr(int &n){
| ~~~~~^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !