Submission #804620

#TimeUsernameProblemLanguageResultExecution timeMemory
804620radaiosm7Hexagonal Territory (APIO21_hexagon)C++14
0 / 100
1 ms212 KiB
#include "hexagon.h" #include <bits/stdc++.h> using namespace std; long long sd, ans; const long long MOD=1000000007LL; int draw_territory(int N, int A, int B, vector<int> D, vector<int> L) { sd = (long long)L[0]; ans = ((sd+1LL)*(sd+2LL))%MOD; ans = (ans*500000004LL)%MOD; return ans; }
#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...