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