记录详情

Compile Error

/in/foo.c:1:3: error: invalid preprocessing directive #\U000083b7\U000053d6\U00008f93\U00005165
    1 | # 获取输入
      |   ^~~~~~~~
/in/foo.c:3:1: warning: data definition has no type or storage class
    3 | input_str = input()
      | ^~~~~~~~~
/in/foo.c:3:1: warning: type defaults to 'int' in declaration of 'input_str' [-Wimplicit-int]
/in/foo.c:3:13: warning: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    3 | input_str = input()
      |             ^~~~~
/in/foo.c:5:3: error: invalid preprocessing directive #\U00005206\U00005272\U00008f93\U00005165\U00007684\U00008eab\U00009ad8\U0000548c\U00004f53\U000091cd
    5 | # 分割输入的身高和体重
      |   ^~~~~~~~~~~~~~~~~~~~
/in/foo.c:3:13: error: initializer element is not constant
    3 | input_str = input()
      |             ^~~~~
/in/foo.c:7:1: error: expected ',' or ';' before 'height'
    7 | height, weight = map(float, input_str.split(','))
      | ^~~~~~
/in/foo.c:9:3: error: invalid preprocessing directive #\U00008ba1\U00007b97BMI\U0000503c
    9 | # 计算BMI值
      |   ^~~~~~~~~
/in/foo.c:13:3: error: invalid preprocessing directive #\U00005224\U000065ad\U00005065\U00005eb7\U000072b6\U000051b5
   13 | # 判断健康状况
      |   ^~~~~~~~~~~~
/in/foo.c:31:3: error: invalid preprocessing directive #\U00006309\U00007167\U0000683c\U00005f0f\U00008f93\U000051fa\U00007ed3\U0000679c\U0000ff0c\U00004fdd\U000075592\U00004f4d\U00005c0f\U00006570
   31 | # 按照格式输出结果,保留2位小数
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

信息

递交者
类型
自测
语言
C
递交时间
2025-06-24 11:37:14
评测时间
2025-06-24 11:37:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes