记录详情

Wrong Answer

foo.cc: In function 'node* unique(node*)':
foo.cc:70:22: warning: left operand of comma operator has no effect [-Wunused-value]
   70 |         for (;p->next!=NULL,p!=NULL;p=p->next)
      |                      ^
foo.cc: In function 'node* setunion(node*, node*, node*)':
foo.cc:103:31: warning: left operand of comma operator has no effect [-Wunused-value]
  103 |                 for (j=head3;j!=NULL,j!=prev;j=j->next)
      |                               ^
foo.cc:102:21: warning: unused variable 'flag' [-Wunused-variable]
  102 |                 int flag=0;
      |                     ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 332.0 KiB
#2 Wrong Answer User output longer than standard answer. 4ms 412.0 KiB
#3 Wrong Answer User output longer than standard answer. 4ms 412.0 KiB
#4 Accepted 2ms 412.0 KiB
#5 Accepted 3ms 412.0 KiB

信息

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