monochrome.cpp: In function 'long long int check(int)':
monochrome.cpp:12:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for (int i = 0; i < W.size(); ++i) {
| ~~^~~~~~~~~~
monochrome.cpp: At global scope:
monochrome.cpp:24:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
24 | main () {
| ^~~~
monochrome.cpp: In function 'int main()':
monochrome.cpp:28:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for (int i = 0; i < s.size(); ++i) {
| ~~^~~~~~~~~~