towns.cpp: In function 'int tav(int, int)':
towns.cpp:15:21: warning: declaration of 'b' shadows a global declaration [-Wshadow]
15 | int tav(int a, int b) {
| ^
towns.cpp:5:20: note: shadowed declaration is here
5 | int dist[c][c], a, b, h, n, mini, c1, c2, ks, kcs, ncs, ns, ert, ker, db[c];
| ^
towns.cpp:15:21: warning: declaration of 'a' shadows a global declaration [-Wshadow]
15 | int tav(int a, int b) {
| ^
towns.cpp:5:17: note: shadowed declaration is here
5 | int dist[c][c], a, b, h, n, mini, c1, c2, ks, kcs, ncs, ns, ert, ker, db[c];
| ^
towns.cpp: In function 'bool ask(int, int)':
towns.cpp:28:22: warning: declaration of 'c' shadows a global declaration [-Wshadow]
28 | bool ask(int b, int c) {
| ^
towns.cpp:4:11: note: shadowed declaration is here
4 | const int c=112;
| ^
towns.cpp:28:22: warning: declaration of 'b' shadows a global declaration [-Wshadow]
28 | bool ask(int b, int c) {
| ^
towns.cpp:5:20: note: shadowed declaration is here
5 | int dist[c][c], a, b, h, n, mini, c1, c2, ks, kcs, ncs, ns, ert, ker, db[c];
| ^
towns.cpp: In function 'bool oszt(std::vector<int>)':
towns.cpp:34:19: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
34 | int si=sz.size(), ki=-1, sum=0;
| ~~~~~~~^~
towns.cpp:38:13: warning: declaration of 'a' shadows a global declaration [-Wshadow]
38 | int a=-1, b=-1;
| ^
towns.cpp:5:17: note: shadowed declaration is here
5 | int dist[c][c], a, b, h, n, mini, c1, c2, ks, kcs, ncs, ns, ert, ker, db[c];
| ^
towns.cpp:38:19: warning: declaration of 'b' shadows a global declaration [-Wshadow]
38 | int a=-1, b=-1;
| ^
towns.cpp:5:20: note: shadowed declaration is here
5 | int dist[c][c], a, b, h, n, mini, c1, c2, ks, kcs, ncs, ns, ert, ker, db[c];
| ^
towns.cpp: In function 'int hubDistance(int, int)':
towns.cpp:87:16: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
87 | ks=kis.size(), kcs=k1.size(), ncs=k2.size(), ns=nagy.size();
| ~~~~~~~~^~
towns.cpp:87:31: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
87 | ks=kis.size(), kcs=k1.size(), ncs=k2.size(), ns=nagy.size();
| ~~~~~~~^~
towns.cpp:87:46: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
87 | ks=kis.size(), kcs=k1.size(), ncs=k2.size(), ns=nagy.size();
| ~~~~~~~^~
towns.cpp:87:62: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
87 | ks=kis.size(), kcs=k1.size(), ncs=k2.size(), ns=nagy.size();
| ~~~~~~~~~^~
towns.cpp:70:28: warning: unused parameter 'w' [-Wunused-parameter]
70 | int hubDistance(int q, int w) {
| ~~~~^