Joker.cpp: In function 'void dnc(int, int, int, int)':
Joker.cpp:57:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(sz<uf.vc.size())uf.rollback();
~~^~~~~~~~~~~~~
Joker.cpp:58:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(sz<uf.vc.size())uf.rollback();
~~^~~~~~~~~~~~~
Joker.cpp:66:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(uf.vc.size()==tmp2)break;
~~~~~~~~~~~~^~~~~~
Joker.cpp:72:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(uf.vc.size()==tmp1)break;
~~~~~~~~~~~~^~~~~~
Joker.cpp:80:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(uf.vc.size()==tmp1)break;
~~~~~~~~~~~~^~~~~~
Joker.cpp: In function 'int main()':
Joker.cpp:87:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &m, &q);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Joker.cpp:88:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1; i<=m; i++)scanf("%d %d", &edg[i].F, &edg[i].S);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joker.cpp:93:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
~~~~~^~~~~~~~~~~~~~~~~