Submission #934678

#TimeUsernameProblemLanguageResultExecution timeMemory
934678MinaRagy06Hexagonal Territory (APIO21_hexagon)C++17
0 / 100
0 ms512 KiB
#include <bits/stdc++.h> #ifdef MINA #include "grader.cpp" #endif #include "hexagon.h" using namespace std; #define ll long long const int mod = 1e9 + 7; int draw_territory(int n, int a, int b, vector<int> d, vector<int> l) { int sz = l[0]; return 1ll * sz * (sz + 1) / 2 % mod * a % mod; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...