记录详情

Compile Error

foo.c:1:1: warning: data definition has no type or storage class
    1 | list = []   #用于存储三个数
      | ^~~~
foo.c:1:1: warning: type defaults to 'int' in declaration of 'list' [-Wimplicit-int]
foo.c:1:8: error: expected expression before '[' token
    1 | list = []   #用于存储三个数
      |        ^
foo.c:1:13: error: stray '#' in program
    1 | list = []   #用于存储三个数
      |             ^
foo.c:3:19: error: stray '\342' in program
    3 |     a = int(input(<U+201C><U+8BF7><U+8F93><U+5165><U+7B2C>{}<U+4E2A><U+6570><U+FF1A>".format(i+1)))
      |                   ^~~~~~~~
foo.c:3:36: warning: missing terminating " character
    3 |     a = int(input(“请输入第{}个数:".format(i+1)))
      |                                    ^
foo.c:3:36: error: missing terminating " character
    3 |     a = int(input(“请输入第{}个数:".format(i+1)))
      |                                    ^~~~~~~~~~~~~~~
foo.c:3:30: error: unknown type name '\U00004e2a\U00006570\U0000ff1a'
    3 |     a = int(input(“请输入第{}个数:".format(i+1)))
      |                              ^~~~~~
foo.c:4:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 |         list.append(a)
      |             ^
[Hydro](https://hydro.ac)提供评测服务

信息

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