/ XMU_ACM /

记录详情

Compile Error

/in/foo.c: In function 'SwapElem':
/in/foo.c:25:2: error: unknown type name 'stockElem'
  stockElem temp = stock[i];
  ^~~~~~~~~
/in/foo.c:25:2: note: use 'struct' keyword to refer to the type
/in/foo.c:25:19: error: incompatible types when initializing type 'int' using type 'struct stockElem'
  stockElem temp = stock[i];
                   ^~~~~
/in/foo.c:27:11: error: incompatible types when assigning to type 'struct stockElem' from type 'int'
  stock[j] = temp;
           ^
/in/foo.c: In function 'work':
/in/foo.c:81:9: error: 'true' undeclared (first use in this function)
  while (true)
         ^~~~
/in/foo.c:81:9: note: each undeclared identifier is reported only once for each function it appears in

信息

递交者
类型
递交
题目
stock
语言
C
递交时间
2020-07-20 12:19:21
评测时间
2020-07-20 12:33:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes