Borderou de evaluare (job #2036063)
Utilizator | Data | 10 octombrie 2017 11:06:28 | |
---|---|---|---|
Problema | Expozitie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:16:35: error: ISO C++ forbids declaration of ‘operator+=’ with no type [-fpermissive]
operator += (const number &oth) {
^
user.cpp: In member function ‘int number::operator+=(const number&)’:
user.cpp:30:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:38:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d", &n, &d, &k);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !