towns.cpp: In function 'int hubDistance(int, int)':
towns.cpp:36:23: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
36 | ll R=getDistance(i,p1);
| ^~
towns.cpp:5:11: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
5 | #define F first
| ^
towns.cpp:54:29: note: in expansion of macro 'F'
54 | ll R=getDistance(i,curr.F);
| ^
towns.cpp:6:11: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
6 | #define S second
| ^
towns.cpp:61:29: note: in expansion of macro 'S'
61 | ll R=getDistance(i,curr.S);
| ^
towns.cpp:70:9: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
70 | return ans;
| ^~~
towns.cpp:12:28: warning: unused parameter 'sub' [-Wunused-parameter]
12 | int hubDistance(int N, int sub) {
| ~~~~^~~