记录详情

Compile Error

foo.c:2:1: warning: data definition has no type or storage class
    2 | a=int(input())
      | ^
foo.c:2:1: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
foo.c:2:3: error: expected expression before 'int'
    2 | a=int(input())
      |   ^~~
foo.c:5:3: error: stray '\357' in program
    5 | p=(a+b+c)/2
      |   ^
foo.c:5:4: error: stray '\274' in program
    5 | p=(a+b+c)/2
      |    ^
foo.c:5:5: error: stray '\210' in program
    5 | p=(a+b+c)/2
      |     ^
foo.c:5:11: error: stray '\357' in program
    5 | p=(a+b+c)/2
      |           ^
foo.c:5:12: error: stray '\274' in program
    5 | p=(a+b+c)/2
      |            ^
foo.c:5:13: error: stray '\211' in program
    5 | p=(a+b+c)/2
      |             ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
三角形面积
语言
C
递交时间
2022-07-13 10:03:43
评测时间
2022-07-13 10:03:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes