Submission #569464

#TimeUsernameProblemLanguageResultExecution timeMemory
569464TurkhuuHexagonal Territory (APIO21_hexagon)C++17
0 / 100
1 ms212 KiB
#include "hexagon.h" #include <bits/stdc++.h> const int mod = 1000000007; int draw_territory(int n, int a, int b, std::vector<int> d, std::vector<int> l){ if(n == 3){ return (l[0] + 1) * (l[0] + 2) / 2 % mod * a % mod; } return 0; }
#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...