Record Detail

Compile Error

/in/polynomial.cpp: In member function 'int Polynomial::operator[](unsigned int)':
/in/polynomial.cpp:72:30: error: no matching function for call to 'Polynomial::getCoefficient()'
  return this->getCoefficient();
                              ^
In file included from /in/polynomial.cpp:1:0:
/in/compile/polynomial.h:70:7: note: candidate: int Polynomial::getCoefficient(unsigned int) const
   int getCoefficient(unsigned int degree) const;
       ^~~~~~~~~~~~~~
/in/compile/polynomial.h:70:7: note:   candidate expects 1 argument, 0 provided

Information

Submit By
Type
Submission
Homework
Exercise 7
Language
C++
Submit At
2022-11-27 15:11:31
Judged At
2022-11-27 15:11:31
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes