foo.cc:53:9: warning: floating constant exceeds range of 'double' [-Woverflow]
53 | ans = 1e1000;
| ^~~
foo.cc: In function 'int main()':
foo.cc:55:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for (int i = 0; i < res.size(); i ++ )
| ~~^~~~~~~~~~~~
foo.cc:59:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | if (i != res.size() - 1) cout << '*';
| ~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务