foo.cc:8:20: error: stray '\357' in program
8 | if(n < 3) sum = 10;
| ^
foo.cc:8:21: error: stray '\274' in program
8 | if(n < 3) sum = 10;
| ^
foo.cc:8:22: error: stray '\233' in program
8 | if(n < 3) sum = 10;
| ^
foo.cc: In function 'int main()':
foo.cc:8:20: error: expected ';' before 'if'
8 | if(n < 3) sum = 10;
| ^
| ;
9 | if(n >= 3 && n < 10) sum = (n - 3) * 2.5;
| ~~
foo.cc:11:21: error: expected ';' before 'return'
11 | printf("%.2f", sum)
| ^
| ;
12 | return 0;
| ~~~~~~
[Hydro](https://hydro.ac)提供评测服务