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)提供评测服务