Compile Error

foo.cc:13:5: error: stray '\357' in program
   13 |  if (s>10)
      |     ^
foo.cc:13:6: error: stray '\274' in program
   13 |  if (s>10)
      |      ^
foo.cc:13:7: error: stray '\210' in program
   13 |  if (s>10)
      |       ^
foo.cc: In function 'int main()':
foo.cc:7:5: error: 'flost' was not declared in this scope; did you mean 'float'?
    7 |     flost s,num;
      |     ^~~~~
      |     float
foo.cc:8:7: error: 's' was not declared in this scope
    8 |  cin>>s;
      |       ^
foo.cc:10:3: error: 'num' was not declared in this scope; did you mean 'enum'?
   10 |   num=10;
      |   ^~~
      |   enum
foo.cc:12:3: error: 'num' was not declared in this scope; did you mean 'enum'?
   12 |   num=(10+(s-3)*2.5);
      |   ^~~
      |   enum
foo.cc:13:8: error: expected '(' before 's'
   13 |  if (s>10)
      |        ^
      |        (
foo.cc:15:16: error: 'num' was not declared in this scope; did you mean 'enum'?
   15 |  printf("%.2f",num);
      |                ^~~
      |                enum
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1028 出租车计价
语言
C++
递交时间
2022-07-12 20:43:20
评测时间
2022-07-12 20:43:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes