Submission #466518

#TimeUsernameProblemLanguageResultExecution timeMemory
466518rainboyHexagonal Territory (APIO21_hexagon)C++17
3 / 100
1 ms284 KiB
#include "hexagon.h" #include <vector> using namespace std; typedef vector<int> vi; const int MD = 1000000007; int draw_territory(int n, int a, int b, vi dd, vi ll) { return ((long long) (ll[0] + 1) * (ll[0] + 2) / 2) % MD * a % MD; }
#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...