记录详情

Accepted

foo.cc: In member function ‘void PolyListNode::output()’:
foo.cc:73:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
   73 |         for(int i=0;i<n;i++)
      |         ^~~
foo.cc:75:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   75 |           cout<<endl;
      |           ^~~~
foo.cc: In member function ‘PolyListNode PolyListNode::operator*(PolyListNode)’:
foo.cc:101:13: warning: unused variable ‘i’ [-Wunused-variable]
  101 |         int i=0,j=0;
      |             ^
foo.cc:101:17: warning: unused variable ‘j’ [-Wunused-variable]
  101 |         int i=0,j=0;
      |                 ^
# 状态 耗时 内存占用
#1 Accepted 2ms 768.0 KiB

信息

递交者
类型
自测
题目
P1037 OO8-2 一元多项式链表类的运算
语言
C++
递交时间
2024-05-05 11:22:10
评测时间
2024-05-05 11:22:10
评测机
分数
10
总耗时
2ms
峰值内存
768.0 KiB