# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
569462 | 2022-05-27T12:08:12 Z | Turkhuu | Hexagonal Territory (APIO21_hexagon) | C++17 | 0 ms | 0 KB |
#include "hexagon.h" #include <bits/stdc++.h> const int mod = 1000000007; int draw_territory(int n, int a, int b, std::vector<int> d, std::vector<int> l){ if(n == 3){ long long ans = a * (L + 1) % mod * (L + 2) % mod; return ans; } return 0; }