记录详情

Accepted

foo.cc: In function 'void unique(node*)':
foo.cc:71:29: warning: variable 'pre2' set but not used [-Wunused-but-set-variable]
   71 |         node* pre = NULL, * pre2 = NULL, * i, * j;
      |                             ^~~~
foo.cc: In function 'int main()':
foo.cc:178:21: warning: unused variable 'n3' [-Wunused-variable]
  178 |         int n1, n2, n3, i, t;
      |                     ^~
foo.cc:178:25: warning: unused variable 'i' [-Wunused-variable]
  178 |         int n1, n2, n3, i, t;
      |                         ^
foo.cc:178:28: warning: unused variable 't' [-Wunused-variable]
  178 |         int n1, n2, n3, i, t;
      |                            ^
foo.cc:179:15: warning: unused variable 'head4' [-Wunused-variable]
  179 |         node* head4 = new node, * head5 = new node;
      |               ^~~~~
foo.cc:179:35: warning: unused variable 'head5' [-Wunused-variable]
  179 |         node* head4 = new node, * head5 = new node;
      |                                   ^~~~~
foo.cc:181:31: warning: unused variable 'head3' [-Wunused-variable]
  181 |         node* head1 = NULL, * head3 = NULL, * head2 = NULL;
      |                               ^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 3ms 332.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
A9-7 数组中所有极大值
比赛
2023 程序设计与竞赛(作业8:链表的世界)
语言
C++
递交时间
2023-11-25 15:27:20
评测时间
2023-11-25 15:27:20
评测机
分数
100
总耗时
20ms
峰值内存
412.0 KiB