skyscraper.cpp: In function 'int main()':
skyscraper.cpp:31:47: warning: narrowing conversion of '(((int)x) - ((int)po))' from 'int' to 'short unsigned int' [-Wnarrowing]
31 | if(x>=po&&!s[x-po].count(po))q.push({x-po,po,w+1}),s[x-po].insert(po);
| ~^~~
skyscraper.cpp:31:55: warning: narrowing conversion of '(((int)w) + 1)' from 'int' to 'short unsigned int' [-Wnarrowing]
31 | if(x>=po&&!s[x-po].count(po))q.push({x-po,po,w+1}),s[x-po].insert(po);
| ~^~
skyscraper.cpp:32:48: warning: narrowing conversion of '(((int)x) + ((int)po))' from 'int' to 'short unsigned int' [-Wnarrowing]
32 | if(x+po<n&&!s[x+po].count(po))q.push({x+po,po,w+1}),s[x+po].insert(po);
| ~^~~
skyscraper.cpp:32:56: warning: narrowing conversion of '(((int)w) + 1)' from 'int' to 'short unsigned int' [-Wnarrowing]
32 | if(x+po<n&&!s[x+po].count(po))q.push({x+po,po,w+1}),s[x+po].insert(po);
| ~^~
skyscraper.cpp:36:51: warning: narrowing conversion of '(((int)x) - ((int)po))' from 'int' to 'short unsigned int' [-Wnarrowing]
36 | if(x>=po&&!s[x-po].count(po))q.push({x-po,po,w+1}),s[x-po].insert(po);
| ~^~~
skyscraper.cpp:36:59: warning: narrowing conversion of '(((int)w) + 1)' from 'int' to 'short unsigned int' [-Wnarrowing]
36 | if(x>=po&&!s[x-po].count(po))q.push({x-po,po,w+1}),s[x-po].insert(po);
| ~^~
skyscraper.cpp:37:52: warning: narrowing conversion of '(((int)x) + ((int)po))' from 'int' to 'short unsigned int' [-Wnarrowing]
37 | if(x+po<n&&!s[x+po].count(po))q.push({x+po,po,w+1}),s[x+po].insert(po);
| ~^~~
skyscraper.cpp:37:60: warning: narrowing conversion of '(((int)w) + 1)' from 'int' to 'short unsigned int' [-Wnarrowing]
37 | if(x+po<n&&!s[x+po].count(po))q.push({x+po,po,w+1}),s[x+po].insert(po);
| ~^~