记录详情

Accepted

foo.cc: In function 'node* searchremove(node*, node*, int)':
foo.cc:44:14: warning: statement has no effect [-Wunused-value]
   44 |         for (srp; srp != NULL;presrp=srp,srp = srp->next)
      |              ^~~
foo.cc:41:13: warning: unused variable 's' [-Wunused-variable]
   41 |         int s = 0;
      |             ^
foo.cc: In function 'int main()':
foo.cc:87:14: warning: statement has no effect [-Wunused-value]
   87 |         for (p1; p1 < a1 + n1; p1++)
      |              ^~
foo.cc:89:14: warning: statement has no effect [-Wunused-value]
   89 |         for (p2; p2 < a2 + n2; p2++)
      |              ^~
foo.cc:91:14: warning: statement has no effect [-Wunused-value]
   91 |         for (p3; p3 < a3 + n3; p3++)
      |              ^~
foo.cc:93:15: warning: unused variable 'head1' [-Wunused-variable]
   93 |         node* head1 = ordercreate(a1, n1);      node* head2 = ordercreate(a2, n2);  node* head3 = ordercreate(a3, n3);
      |               ^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
比赛
2023 程序设计与竞赛(作业8:链表的世界)
语言
C++
递交时间
2023-11-25 15:06:26
评测时间
2023-11-25 15:06:26
评测机
分数
100
总耗时
20ms
峰值内存
412.0 KiB