记录详情

Accepted

/in/foo.cc: In function 'Polynome operator+(Polynome, Polynome)':
/in/foo.cc:138:7: warning: unused variable 'i' [-Wunused-variable]
   int i, j, nTag = 0;
       ^
/in/foo.cc:138:10: warning: unused variable 'j' [-Wunused-variable]
   int i, j, nTag = 0;
          ^
/in/foo.cc:138:13: warning: unused variable 'nTag' [-Wunused-variable]
   int i, j, nTag = 0;
             ^~~~
/in/foo.cc: In function 'Polynome operator*(Polynome&, Polynome&)':
/in/foo.cc:196:7: warning: unused variable 'i' [-Wunused-variable]
   int i, j, nTag = 0, nExponent = 0, nCoefficient = 0;
       ^
/in/foo.cc:196:10: warning: unused variable 'j' [-Wunused-variable]
   int i, j, nTag = 0, nExponent = 0, nCoefficient = 0;
          ^
/in/foo.cc:196:13: warning: unused variable 'nTag' [-Wunused-variable]
   int i, j, nTag = 0, nExponent = 0, nCoefficient = 0;
             ^~~~
/in/foo.cc:197:71: warning: unused variable 'ptrCompare' [-Wunused-variable]
   Term *ptrCurrentTerm = NULL, *ptrPriorTerm = NULL, *ptrLatterTerm, *ptrCompare = NULL, *ptrNewTerm = NULL;
                                                                       ^~~~~~~~~~
/in/foo.cc: In function 'int main(int, char**)':
/in/foo.cc:369:33: warning: unused variable 'nBase' [-Wunused-variable]
  int nLength = 0, nLength2 = 0, nBase = 0;
                                 ^~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Accepted 2ms 336.0 KiB
#3 Accepted 1ms 328.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 2ms 336.0 KiB

信息

递交者
类型
递交
题目
P1037 OO8-2 一元多项式链表类的运算
语言
C++
递交时间
2023-10-15 18:58:08
评测时间
2023-10-15 18:58:08
评测机
分数
100
总耗时
10ms
峰值内存
376.0 KiB