hexagon.cpp: In function 'int draw_territory(int, int, int, std::vector<int>, std::vector<int>)':
hexagon.cpp:17:13: warning: unused variable 'totalsq' [-Wunused-variable]
17 | int totalsq = 4000*4000;
| ^~~~~~~
hexagon.cpp:18:13: warning: unused variable 'dx' [-Wunused-variable]
18 | int dx[6] = {0, 1, 1, 0, -1, -1};
| ^~
hexagon.cpp:19:13: warning: unused variable 'dy' [-Wunused-variable]
19 | int dy[6] = {2, 1 ,-1, -2, -1, 1};
| ^~
hexagon.cpp:21:12: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
21 | return ans;
| ^~~