mart.cpp: In function 'void dijk()':
mart.cpp:64:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<what[i].size();j++) {
^
mart.cpp:68:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (gd[i].size()<min(msv,k)) {
^
mart.cpp:22:9: warning: unused variable 'j' [-Wunused-variable]
int i, j;
^
mart.cpp: In function 'int main()':
mart.cpp:104:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<gd[s].size();j++) {
^
mart.cpp:81:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&m,&k,&q);
^
mart.cpp:84:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a); --a;
^
mart.cpp:89:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a,&b,&c); --a; --b;
^
mart.cpp:97:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&s,&x); --s;
^
mart.cpp:100:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a); --a;
^