记录详情

Wrong Answer

foo.cc: In function 'Polynome operator+(Polynome, Polynome)':
foo.cc:138:21: warning: unused variable 'i' [-Wunused-variable]
  138 |                 int i, j, nTag = 0;
      |                     ^
foo.cc:138:24: warning: unused variable 'j' [-Wunused-variable]
  138 |                 int i, j, nTag = 0;
      |                        ^
foo.cc:138:27: warning: unused variable 'nTag' [-Wunused-variable]
  138 |                 int i, j, nTag = 0;
      |                           ^~~~
foo.cc: In function 'Polynome operator*(Polynome&, Polynome&)':
foo.cc:196:21: warning: unused variable 'i' [-Wunused-variable]
  196 |                 int i, j, nTag = 0, nExponent = 0, nCoefficient = 0;
      |                     ^
foo.cc:196:24: warning: unused variable 'j' [-Wunused-variable]
  196 |                 int i, j, nTag = 0, nExponent = 0, nCoefficient = 0;
      |                        ^
foo.cc:196:27: warning: unused variable 'nTag' [-Wunused-variable]
  196 |                 int i, j, nTag = 0, nExponent = 0, nCoefficient = 0;
      |                           ^~~~
foo.cc:197:85: warning: unused variable 'ptrCompare' [-Wunused-variable]
  197 |                 Term *ptrCurrentTerm = NULL, *ptrPriorTerm = NULL, *ptrLatterTerm, *ptrCompare = NULL, *ptrNewTerm = NULL;
      |                                                                                     ^~~~~~~~~~
foo.cc: In function 'int main(int, char**)':
foo.cc:368:40: warning: unused variable 'nBase' [-Wunused-variable]
  368 |         int nLength = 0, nLength2 = 0, nBase = 0;
      |                                        ^~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 3ms 412.0 KiB
#2 Wrong Answer User output longer than standard answer. 4ms 412.0 KiB
#3 Wrong Answer User output longer than standard answer. 4ms 328.0 KiB
#4 Wrong Answer User output longer than standard answer. 4ms 412.0 KiB
#5 Wrong Answer User output longer than standard answer. 3ms 412.0 KiB

信息

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