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