Submission #981696

#TimeUsernameProblemLanguageResultExecution timeMemory
981696IUA_HasinHexagonal Territory (APIO21_hexagon)C++17
0 / 100
1 ms600 KiB
#include "hexagon.h" #include <bits/stdc++.h> #define ll long long using namespace std; int draw_territory(int N, int A, int B, std::vector<int> D, std::vector<int> L) { ll len = L[0]+1; ll ans = ((len+1)*(len+2))/2; ans = A*ans; 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...