Submission #737348

#TimeUsernameProblemLanguageResultExecution timeMemory
737348keisuke6Hexagonal Territory (APIO21_hexagon)C++14
3 / 100
1 ms288 KiB
#include "hexagon.h" #include <vector> int draw_territory(int N, int A, int B, std::vector<int> D, std::vector<int> L){ return (int)(((long long)(L[0]+1)*(L[0]+2)/2%1000000007)*A%1000000007); }
#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...