raspad.cpp: In function 'int main()':
raspad.cpp:74:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | for(int k=1; k<R[i].size(); k++)
| ~^~~~~~~~~~~~
raspad.cpp:84:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
84 | for(int j=1; j<t.size(); j++)
| ~^~~~~~~~~
raspad.cpp:108:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
108 | for(int k=1; k<R[i].size(); k++)
| ~^~~~~~~~~~~~
raspad.cpp:119:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
119 | for(int k=1; k<R[i-1].size(); k++)
| ~^~~~~~~~~~~~~~
raspad.cpp:129:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
129 | for(int j=0; j<t.size(); j++)
| ~^~~~~~~~~
raspad.cpp:133:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
133 | for(int j=1; j<t.size(); j++)
| ~^~~~~~~~~
raspad.cpp:40:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
40 | scanf("%d%d", &N, &M);
| ~~~~~^~~~~~~~~~~~~~~~
raspad.cpp:41:55: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
41 | for(int i=1; i<=N; i++) for(int j=1; j<=M; j++) scanf("%1d", &A[i][j]);
| ~~~~~^~~~~~~~~~~~~~~~~
raspad.cpp:47:7: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
47 | int l, r;
| ^