hexagon.cpp: In function 'int draw_territory(int, int, int, std::vector<int>, std::vector<int>)':
hexagon.cpp:13:55: error: 'MOD' was not declared in this scope
13 | ll ans = ((((L[0] + 1) * 1LL * (L[0] + 2)) / 2) % MOD);
| ^~~
hexagon.cpp:16:18: error: expected ';' before '<' token
16 | for(int i=0,i<(L[0] + 1);i++){
| ^
| ;
hexagon.cpp:16:18: error: expected primary-expression before '<' token
hexagon.cpp:17:34: error: 'INF' was not declared in this scope
17 | ans += (((i * (i + 1)) % INF) * B) % MOD;
| ^~~
hexagon.cpp:20:10: error: 'all' was not declared in this scope; did you mean 'll'?
20 | sort(all(L));
| ^~~
| ll