binary.cpp: In function 'bool check(const string&, const string&)':
binary.cpp:21:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for (int i = 0; i < a.size(); i++) {
| ~~^~~~~~~~~~
binary.cpp:22:9: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | if (j < b.size() && a[i] == b[j]) j++;
| ~~^~~~~~~~~~
binary.cpp:23:9: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | if (j == b.size()) break;
| ~~^~~~~~~~~~~
binary.cpp:25:11: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | return j == b.size();
| ~~^~~~~~~~~~~
binary.cpp: In function 'void init()':
binary.cpp:38:12: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
38 | ans[cnt]++;
| ^~
binary.cpp: In function 'int main()':
binary.cpp:52:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for (int i = 0; i < str[N].size(); i++)
| ~~^~~~~~~~~~~~~~~
binary.cpp:53:33: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | cout << str[N][i] << " \n"[i==str[N].size()-1];
| ~^~~~~~~~~~~~~~~~~