记录详情

Compile Error

/in/foo.c:7:1: warning: data definition has no type or storage class
 a=input()
 ^
/in/foo.c:7:1: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
/in/foo.c:7:8: error: stray '\357' in program
 a=input()
        ^
/in/foo.c:7:9: error: stray '\274' in program
 a=input()
         ^
/in/foo.c:7:10: error: stray '\210' in program
 a=input()
          ^
/in/foo.c:7:11: error: stray '\357' in program
 a=input()
           ^
/in/foo.c:7:12: error: stray '\274' in program
 a=input()
            ^
/in/foo.c:7:13: error: stray '\211' in program
 a=input()
             ^
/in/foo.c:7:3: error: 'input' undeclared here (not in a function)
 a=input()
   ^~~~~
/in/foo.c:8:1: error: expected ',' or ';' before 'print'
 print(a*a)
 ^~~~~
/in/foo.c:8:6: error: stray '\357' in program
 print(a*a)
      ^
/in/foo.c:8:7: error: stray '\274' in program
 print(a*a)
       ^
/in/foo.c:8:8: error: stray '\210' in program
 print(a*a)
        ^
/in/foo.c:8:12: error: stray '\357' in program
 print(a*a)
            ^
/in/foo.c:8:13: error: stray '\274' in program
 print(a*a)
             ^
/in/foo.c:8:14: error: stray '\211' in program
 print(a*a)
              ^

信息

递交者
类型
自测
语言
C
递交时间
2024-03-05 17:46:27
评测时间
2024-03-05 17:46:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes