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