Borderou de evaluare (job #2973375)
Utilizator | Data | 31 ianuarie 2023 20:46:27 | |
---|---|---|---|
Problema | Jap2 | 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:29:27: error: cannot bind non-const lvalue reference of type 'int&' to an rvalue of type 'int'
29 | euclid(i,MOD,inv[i],y) ;
| ~~~~~^
main.cpp:6:30: note: initializing argument 3 of 'void euclid(int, int, int&, int&)'
6 | void euclid(int a,int b,int &x,int &y)
| ~~~~~^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !