记录详情

Compile Error

foo.c:1:3: error: invalid preprocessing directive #\U00008bfb\U000053d6\U00008f93\U00005165
    1 | # 读取输入
      |   ^~~~~~~~
foo.c:2:1: warning: data definition has no type or storage class
    2 | num = input()
      | ^~~
foo.c:2:1: warning: type defaults to 'int' in declaration of 'num' [-Wimplicit-int]
foo.c:2:7: warning: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    2 | num = input()
      |       ^~~~~
foo.c:4:3: error: invalid preprocessing directive #\U00005c06\U00005b57\U00007b26\U00004e32\U00009006\U00005e8f\U00008f93\U000051fa
    4 | # 将字符串逆序输出
      |   ^~~~~~~~~~~~~~~~
foo.c:2:7: error: initializer element is not constant
    2 | num = input()
      |       ^~~~~
foo.c:5:1: error: expected ',' or ';' before 'print'
    5 | print(num[::-1])
      | ^~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
反序数字
语言
C
递交时间
2023-06-04 15:01:47
评测时间
2023-06-04 15:01:47
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes