railway.cpp: In function 'void dfs(int, int)':
railway.cpp:49:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<adj[v].size();i++){
~^~~~~~~~~~~~~~
railway.cpp: In function 'void solve(int, int)':
railway.cpp:63:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<adj[v].size();i++){
~^~~~~~~~~~~~~~
railway.cpp:67:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(avi[sst[u]].size() > mx){
~~~~~~~~~~~~~~~~~~~^~~~
railway.cpp:75:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<adj[v].size();i++){
~^~~~~~~~~~~~~~
railway.cpp:87:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(avi[sst[v]].size() >= k)erg.push_back(num[v]);
~~~~~~~~~~~~~~~~~~~^~~~
railway.cpp: In function 'int main()':
railway.cpp:129:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n",erg.size());
~~~~~~~~~~^
railway.cpp:130:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<erg.size();i++){
~^~~~~~~~~~~
railway.cpp:95:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&m,&k);
~~~~~^~~~~~~~~~~~~~~~~~~~~
railway.cpp:98:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
~~~~~^~~~~~~~~~~~~~~
railway.cpp:108:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cc);
~~~~~^~~~~~~~~~
railway.cpp:111:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&s);
~~~~~^~~~~~~~~