Borderou de evaluare (job #2673694)
Utilizator | Data | 17 noiembrie 2020 16:00:53 | |
---|---|---|---|
Problema | Invers modular | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void cmmdc(int, int, long long int&, long long int&)':
main.cpp:18:31: error: invalid initialization of non-const reference of type 'long long int&' from an rvalue of type 'long long int'
cmmdc(b, a % b, x0, y0);
^
main.cpp:8:6: note: initializing argument 3 of 'void cmmdc(int, int, long long int&, long long int&)'
void cmmdc(int a, int b, long long &x, long long &y)
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !