sirni.cpp: In function 'int main()':
sirni.cpp:26:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i=0;i<arr.size();i++) par[i]=i;
| ~^~~~~~~~~~~
sirni.cpp:29:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | while(now<arr.size() && arr[now]<=i) now++;
| ~~~^~~~~~~~~~~
sirni.cpp:32:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int i=0;i<arr.size();i++){
| ~^~~~~~~~~~~
sirni.cpp:35:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | if(nx[j]<arr.size()) v.push_back({arr[nx[j]]%arr[i],{i,nx[j]}});
| ~~~~~^~~~~~~~~~~
sirni.cpp:41:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int i=0;i<v.size();i++){
| ~^~~~~~~~~