foo.cc: In function 'int main()':
foo.cc:10:17: error: invalid type argument of unary '*' (have 'int')
10 | m=x*(10**k);
| ^~
foo.cc:13:16: error: expected primary-expression before 'int'
13 | if (m-(int m)<0.5)
| ^~~
foo.cc:13:16: error: expected ')' before 'int'
13 | if (m-(int m)<0.5)
| ~^~~
| )
foo.cc:17:10: error: expected ')' before 'else'
17 | }
| ^
| )
18 | else
| ~~~~
foo.cc:13:12: note: to match this '('
13 | if (m-(int m)<0.5)
| ^
foo.cc:24:1: error: expected primary-expression before '}' token
24 | }
| ^
[Hydro](https://hydro.ac)提供评测服务