Borderou de evaluare (job #2703080)
Utilizator | Data | 7 februarie 2021 08:33:38 | |
---|---|---|---|
Problema | Invers modular | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:26:33: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'int'
long long g = gcd(a, n, x, y);
^
main.cpp:8:5: note: initializing argument 3 of 'int gcd(int, int, int&, int&)'
int gcd(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 !