记录详情

Compile Error

/in/foo.c:6:2: error: stray '#' in program
 }# 读取输入
  ^
/in/foo.c:6:4: error: stray '\350' in program
 }# 读取输入
    ^
/in/foo.c:6:5: error: stray '\257' in program
 }# 读取输入
     ^
/in/foo.c:6:6: error: stray '\273' in program
 }# 读取输入
      ^
/in/foo.c:6:7: error: stray '\345' in program
 }# 读取输入
       ^
/in/foo.c:6:8: error: stray '\217' in program
 }# 读取输入
        ^
/in/foo.c:6:9: error: stray '\226' in program
 }# 读取输入
         ^
/in/foo.c:6:10: error: stray '\350' in program
 }# 读取输入
          ^
/in/foo.c:6:11: error: stray '\276' in program
 }# 读取输入
           ^
/in/foo.c:6:12: error: stray '\223' in program
 }# 读取输入
            ^
/in/foo.c:6:13: error: stray '\345' in program
 }# 读取输入
             ^
/in/foo.c:6:14: error: stray '\205' in program
 }# 读取输入
              ^
/in/foo.c:6:15: error: stray '\245' in program
 }# 读取输入
               ^
/in/foo.c:7:1: warning: data definition has no type or storage class
 num = input()
 ^~~
/in/foo.c:7:1: warning: type defaults to 'int' in declaration of 'num' [-Wimplicit-int]
/in/foo.c:7:7: warning: implicit declaration of function 'input' [-Wimplicit-function-declaration]
 num = input()
       ^~~~~
/in/foo.c:9:3: error: invalid preprocessing directive #�
 # 将字符串逆序输出
   ^
/in/foo.c:7:7: error: initializer element is not constant
 num = input()
       ^~~~~
/in/foo.c:10:1: error: expected ',' or ';' before 'print'
 print(num[::-1])
 ^~~~~

信息

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