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:15: error: expected primary-expression before 'int'
13 | if (m-int m<0.5)
| ^~~
foo.cc:13:15: error: expected ')' before 'int'
13 | if (m-int m<0.5)
| ~ ^~~
| )
foo.cc:15:19: error: expected primary-expression before 'int'
15 | m=int m;
| ^~~
foo.cc:16:31: error: invalid type argument of unary '*' (have 'int')
16 | cout << m/(10**k);
| ^~
foo.cc:20:20: error: expected primary-expression before 'int'
20 | m=(int m)+1;
| ^~~
foo.cc:20:20: error: expected ')' before 'int'
20 | m=(int m)+1;
| ~^~~
| )
foo.cc:21:31: error: invalid type argument of unary '*' (have 'int')
21 | cout << m/(10**k);
| ^~
[Hydro](https://hydro.ac)提供评测服务