numbers.cpp:7:17: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+18' to '2147483647' [-Woverflow]
7 | const int INF = 1e18;
| ^~~~
numbers.cpp: In function 'bool f(int)':
numbers.cpp:22:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i = 0;i < s.size() - 1;i++)
| ~~^~~~~~~~~~~~~~
numbers.cpp:26:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int j = i + 1;j < s.size();j++)
| ~~^~~~~~~~~~