towns.cpp: In function 'int hubDistance(int, int)':
towns.cpp:16:15: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
ma=map[0][i];
~~~~~~~~^
towns.cpp:27:15: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
ma=map[b][i];
~~~~~~~~^
towns.cpp:37:28: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
int c=map[b][i]+map[e][i]-map[b][e];
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
towns.cpp:41:9: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
return ans;
^~~
towns.cpp:7:6: warning: unused variable 'st' [-Wunused-variable]
int st=0;
^~
towns.cpp:6:28: warning: unused parameter 'sub' [-Wunused-parameter]
int hubDistance(int N, int sub) {
^~~