towns.cpp: In function 'int tav(int, int)':
towns.cpp:8:21: warning: declaration of 'b' shadows a global declaration [-Wshadow]
8 | 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:8:21: warning: declaration of 'a' shadows a global declaration [-Wshadow]
8 | 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:21:22: warning: declaration of 'c' shadows a global declaration [-Wshadow]
21 | bool ask(int b, int c) {
| ^
towns.cpp:4:11: note: shadowed declaration is here
4 | const int c=112;
| ^
towns.cpp:21:22: warning: declaration of 'b' shadows a global declaration [-Wshadow]
21 | 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:26:19: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
26 | int si=sz.size(), ki=-1, sum=0;
| ~~~~~~~^~
towns.cpp:29:13: warning: declaration of 'a' shadows a global declaration [-Wshadow]
29 | 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:29:19: warning: declaration of 'b' shadows a global declaration [-Wshadow]
29 | 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:63:16: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
63 | ks=kis.size(), kcs=k1.size(), ncs=k2.size(), ns=nagy.size();
| ~~~~~~~~^~
towns.cpp:63:31: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
63 | ks=kis.size(), kcs=k1.size(), ncs=k2.size(), ns=nagy.size();
| ~~~~~~~^~
towns.cpp:63:46: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
63 | ks=kis.size(), kcs=k1.size(), ncs=k2.size(), ns=nagy.size();
| ~~~~~~~^~
towns.cpp:63:62: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
63 | ks=kis.size(), kcs=k1.size(), ncs=k2.size(), ns=nagy.size();
| ~~~~~~~~~^~
towns.cpp:47:28: warning: unused parameter 'w' [-Wunused-parameter]
47 | int hubDistance(int q, int w) {
| ~~~~^