sirni.cpp: In function 'int main()':
sirni.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
sirni.cpp:49:5: note: in expansion of macro 'ff'
49 | ff(i,1,n)dsu[i] = i;
| ^~
sirni.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
sirni.cpp:50:5: note: in expansion of macro 'ff'
50 | ff(i,1,n)cin >> niz[i];
| ^~
sirni.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
sirni.cpp:53:5: note: in expansion of macro 'ff'
53 | ff(i,1,n){
| ^~
sirni.cpp:2:27: warning: unnecessary parentheses in declaration of 'x' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
sirni.cpp:56:9: note: in expansion of macro 'ff'
56 | ff(x,i,j)unite(i, x);
| ^~
sirni.cpp:2:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
2 | #define ff(i,a,b) for(int (i) = (a); (i) <= (b); ++(i))
| ^
sirni.cpp:60:5: note: in expansion of macro 'ff'
60 | ff(i,1,n){
| ^~
sirni.cpp: In function 'int get(int)':
sirni.cpp:40:12: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
40 | return pos;
| ^~~
sirni.cpp: In function 'int main()':
sirni.cpp:64:33: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
64 | gr.pb({i,gde,niz[gde] % niz[i]});
| ~~~~~~~^