Submission #425901

#TimeUsernameProblemLanguageResultExecution timeMemory
425901OzyHexagonal Territory (APIO21_hexagon)C++17
0 / 100
1 ms204 KiB
#include "hexagon.h" #include <bits/stdc++.h> using namespace std; #define rep(i,a,b) for (int i = (a); i <= (b); i++) #define repa(i,a,b) for (int i = (a); i >= (b); i--) #define lli long long int #define debugsl(a) cout << #a << " = " << a << ", " #define debug(a) cout << #a << " = " << a << endl int draw_territory(int N, int A, int B,std::vector<int> D, std::vector<int> L) { lli res; res = ((L[0]+1)*(L[0]+2))/2; res *= A; return res; }
#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...