记录详情

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:155:21: warning: unused variable 'n3' [-Wunused-variable]
  155 |         int n1, n2, n3, i, t;
      |                     ^~
foo.cc:155:25: warning: unused variable 'i' [-Wunused-variable]
  155 |         int n1, n2, n3, i, t;
      |                         ^
foo.cc:155:28: warning: unused variable 't' [-Wunused-variable]
  155 |         int n1, n2, n3, i, t;
      |                            ^
foo.cc:156:15: warning: unused variable 'head4' [-Wunused-variable]
  156 |         node* head4 = new node, * head5 = new node;
      |               ^~~~~
foo.cc:156:35: warning: unused variable 'head5' [-Wunused-variable]
  156 |         node* head4 = new node, * head5 = new node;
      |                                   ^~~~~
foo.cc:158:31: warning: unused variable 'head3' [-Wunused-variable]
  158 |         node* head1 = NULL, * head3 = NULL, * head2 = NULL;
      |                               ^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 3ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Accepted 3ms 412.0 KiB

信息

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