Borderou de evaluare (job #2308033)
Utilizator | Data | 26 decembrie 2018 10:00:43 | |
---|---|---|---|
Problema | Zero | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:28:35: error: ISO C++ forbids declaration of 'operator+=' with no type [-fpermissive]
friend operator += (BN &a,BN b) { a.sum(b); }
^
main.cpp: In function 'int operator+=(BN&, BN)':
main.cpp:28:49: warning: no return statement in function returning non-void [-Wreturn-type]
friend operator += (BN &a,BN b) { a.sum(b); }
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !