tracks.cpp: In function 'int main()':
tracks.cpp:36:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d%d",&n,&m);
^
tracks.cpp:36:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
tracks.cpp:38:44: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[4005]' [-Wformat=]
for(short int i=0;i<n;++i)scanf("%s",&g[i]);
^
tracks.cpp:49:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short int i=0;i<v.size();++i)
^
tracks.cpp:36:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
tracks.cpp:38:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(short int i=0;i<n;++i)scanf("%s",&g[i]);
^