nautilus.cpp: In function 'bool okay(int, int)':
nautilus.cpp:21:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | if (i < 0 || j < 0 || i >= vec.size() || j >= vec[0].size()) {
| ~~^~~~~~~~~~~~~
nautilus.cpp:21:48: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | if (i < 0 || j < 0 || i >= vec.size() || j >= vec[0].size()) {
| ~~^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/cassert:44,
from nautilus.cpp:7:
nautilus.cpp: In function 'int main()':
nautilus.cpp:38:30: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
38 | assert(vec[i].size() == C);
| ~~~~~~~~~~~~~~^~~~
nautilus.cpp:54:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for (int i = 0; i < s.length(); i++) {
| ~~^~~~~~~~~~~~
nautilus.cpp:74:16: warning: unused variable 'p' [-Wunused-variable]
74 | for (auto& p: pos) {
| ^