Record Detail

Accepted

/in/polynomial.cpp: In member function 'Polynomial Polynomial::operator+(const Polynomial&)':
/in/polynomial.cpp:32:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i = 0; i <= sum.degree; i++){
                  ~~^~~~~~~~~~~~~
/in/polynomial.cpp: In member function 'Polynomial Polynomial::operator*(const Polynomial&)':
/in/polynomial.cpp:48:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i = 0; i <= product.degree; i++){
                  ~~^~~~~~~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Accepted 17ms 6.629 MiB
#2 Accepted 31ms 6.496 MiB
#3 Accepted 16ms 6.465 MiB
#4 Accepted 16ms 6.523 MiB
#5 Accepted 16ms 6.508 MiB

Information

Submit By
Type
Submission
Homework
Exercise 7
Language
C++
Submit At
2022-11-22 17:46:06
Judged At
2022-11-22 17:46:06
Judged By
Score
50
Total Time
99ms
Peak Memory
6.629 MiB