Borderou de evaluare (job #1419316)
Utilizator | Data | 15 aprilie 2015 13:04:59 | |
---|---|---|---|
Problema | Sandokan | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void euclid(int, int, int&, int&)’:
user.cpp:12:16: error: return-statement with a value, in function returning 'void' [-fpermissive]
return a;
^
user.cpp:17:40: error: void value not ignored as it ought to be
int d = euclid(b, a % b, x0, y0);
^
user.cpp:17:13: warning: unused variable ‘d’ [-Wunused-variable]
int d = euclid(b, a % b, x0, y0);
^
user.cpp: In function ‘int main()’:
user.cpp:55:26: error: expected ‘)’ before numeric constant
b=modularInverse(b,2 000 003);
^
user.cpp:56:26: error: expected ‘)’ before numeric constant
c=modularInverse(c,2 000 003);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !