mart.cpp: In function 'void dijkstra()':
mart.cpp:30:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < vt[a].size(); i++){
^
mart.cpp:19:26: warning: unused variable 'nd' [-Wunused-variable]
int i, j, idx, a, d, s, nd, flag;
^
mart.cpp: In function 'int main()':
mart.cpp:41:38: 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:43:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
mart.cpp:47:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &a, &s, &d);
^
mart.cpp:53:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &s);
^
mart.cpp:54:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(j = 0; j < s; j++) scanf("%d", &arr[j]);
^