# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
569462 | Turkhuu | Hexagonal Territory (APIO21_hexagon) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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;
}