记录详情

Accepted

foo.cc: In member function 'void seqlist::removenegative(int)':
foo.cc:17:13: warning: statement has no effect [-Wunused-value]
   17 |         for(it;it!=list.end();it++)
      |             ^~
foo.cc: In member function 'void seqlist::searchremove(int)':
foo.cc:31:13: warning: statement has no effect [-Wunused-value]
   31 |         for(it;it!=list.end();it++)
      |             ^~
foo.cc:29:13: warning: unused variable 'move' [-Wunused-variable]
   29 |         int move=0;
      |             ^~~~
foo.cc: In member function 'void seqlist::output()':
foo.cc:40:13: warning: statement has no effect [-Wunused-value]
   40 |         for(it;it!=list.end();it++)
      |             ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 320.0 KiB
#2 Accepted 2ms 324.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 2ms 324.0 KiB
#5 Accepted 2ms 540.0 KiB

信息

递交者
类型
递交
题目
P1014 OO3-1 无序顺序表类的基本运算
比赛
2024春 面向对象的程序设计方法(第1场作业赛)
语言
C++
递交时间
2024-03-18 19:29:59
评测时间
2024-03-18 19:29:59
评测机
分数
100
总耗时
13ms
峰值内存
540.0 KiB