记录详情

Compile Error

foo.c:1:1: warning: data definition has no type or storage class
    1 | way=(input())
      | ^~~
foo.c:1:1: warning: type defaults to 'int' in declaration of 'way' [-Wimplicit-int]
foo.c:1:6: warning: implicit declaration of function 'input' [-Wimplicit-function-declaration]
    1 | way=(input())
      |      ^~~~~
foo.c:1:5: error: initializer element is not constant
    1 | way=(input())
      |     ^
foo.c:2:1: error: expected ',' or ';' before 'start'
    2 | start=18
      | ^~~~~
foo.c:3:8: error: stray '@' in program
    3 | if way @> start:
      |        ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
货运车运费
语言
C
递交时间
2023-09-15 07:56:23
评测时间
2023-09-15 07:56:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes