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