记录详情

Compile Error

foo.c:16:1: error: unknown type name 'Node'
   16 | Node* findNode(N* head, int value)
      | ^~~~
foo.c: In function 'findNode':
foo.c:23:20: warning: returning 'N *' from a function with incompatible return type 'int *' [-Wincompatible-pointer-types]
   23 |             return current;
      |                    ^~~~~~~
foo.c: In function 'Unique':
foo.c:52:13: warning: implicit declaration of function 'findN'; did you mean 'findNode'? [-Wimplicit-function-declaration]
   52 |         if (findN(head, value) == NULL)
      |             ^~~~~
      |             findNode
foo.c:52:32: warning: comparison between pointer and integer
   52 |         if (findN(head, value) == NULL)
      |                                ^~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A10-3 数组的去重
比赛
2023 程序设计与竞赛(作业8:链表的世界)
语言
C
递交时间
2023-11-25 23:15:23
评测时间
2023-11-25 23:15:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes