Record Detail

Compile Error

/in/polynomial.cpp: In member function 'Polynomial Polynomial::operator+(const Polynomial&)':
/in/polynomial.cpp:39:31: error: 'temp' was not declared in this scope
     for (int i = 0; i <= (int)temp.degree; i++){
                               ^~~~
/in/polynomial.cpp:39:31: note: suggested alternative: 'mktemp'
     for (int i = 0; i <= (int)temp.degree; i++){
                               ^~~~
                               mktemp

Information

Submit By
Type
Submission
Homework
Exercise 7
Language
C++
Submit At
2022-12-09 15:39:26
Judged At
2022-12-09 15:39:26
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes