# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
717791 | skyvn97 | Hexagonal Territory (APIO21_hexagon) | C++14 | 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>
using namespace std;
long long a[20202][20202]; // memory limit exceeded
int draw_territory(int N, int A, int B,
std::vector<int> D, std::vector<int> L) {
for (int i = 0; i < 100; i++) for (int j = 0; j < 100; j++) a[i][j] = i ^ j;
return a[0][0] + 220797;
}