记录详情

Accepted

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

信息

递交者
类型
递交
题目
P1037 OO8-2 一元多项式链表类的运算
比赛
2024春 面向对象的程序设计方法(第3场作业赛)
语言
C++
递交时间
2024-05-05 11:22:13
评测时间
2024-05-05 11:22:13
评测机
分数
100
总耗时
7ms
峰值内存
400.0 KiB