Submission #654742

#TimeUsernameProblemLanguageResultExecution timeMemory
654742Sam_a17Hexagonal Territory (APIO21_hexagon)C++14
0 / 100
1 ms212 KiB
#include <bits/stdc++.h> using namespace std; const long long mod = 1e9 + 7; int draw_territory(int N, int A, int B, vector<int> D, vector<int> L) { long long answ = 1; for(auto i: L) { answ += i; answ %= mod; } return (answ * 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...