hexagon.cpp: In function 'int draw_territory(int, int, int, std::vector<int>, std::vector<int>)':
hexagon.cpp:10:70: warning: iteration 7 invokes undefined behavior [-Waggressive-loop-optimizations]
10 | for (int i = 0; i < 100; i++) for (int j = 0; j < 100; j++) a[i][j] = i ^ j;
| ~~~~~~~~^~~~~~~
hexagon.cpp:10:50: note: within this loop
10 | for (int i = 0; i < 100; i++) for (int j = 0; j < 100; j++) a[i][j] = i ^ j;
| ~~^~~~~
hexagon.cpp:10:70: warning: iteration 22 invokes undefined behavior [-Waggressive-loop-optimizations]
10 | for (int i = 0; i < 100; i++) for (int j = 0; j < 100; j++) a[i][j] = i ^ j;
| ~~~~~~~~^~~~~~~
hexagon.cpp:10:20: note: within this loop
10 | for (int i = 0; i < 100; i++) for (int j = 0; j < 100; j++) a[i][j] = i ^ j;
| ~~^~~~~