记录详情

Compile Error

foo.c:1:1: warning: data definition has no type or storage class
    1 | numbers=[a,b,c]
      | ^~~~~~~
foo.c:1:1: warning: type defaults to 'int' in declaration of 'numbers' [-Wimplicit-int]
foo.c:1:9: error: expected expression before '[' token
    1 | numbers=[a,b,c]
      |         ^
foo.c:1:10: error: 'a' undeclared here (not in a function)
    1 | numbers=[a,b,c]
      |          ^
foo.c:1:12: error: 'b' undeclared here (not in a function)
    1 | numbers=[a,b,c]
      |            ^
foo.c:1:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    1 | numbers=[a,b,c]
      |           ^
foo.c:1:14: error: 'c' undeclared here (not in a function)
    1 | numbers=[a,b,c]
      |              ^
foo.c:1:13: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    1 | numbers=[a,b,c]
      |             ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
比赛
2023年新生赛(第一场)
语言
C
递交时间
2023-08-15 10:13:29
评测时间
2023-08-15 10:13:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes