Submission #981401

# Submission time Handle Problem Language Result Execution time Memory
981401 2024-05-13T07:09:30 Z Faisal_Saqib Hexagonal Territory (APIO21_hexagon) C++17
0 / 100
1 ms 348 KB
#include "hexagon.h"

#include <vector>
const long long mod=1e9+7;
int draw_territory(int N, int A, int B,std::vector<int> D, std::vector<int> L) {
  long long total_cell=L[0],two=2;
  total_cell=(total_cell*(total_cell+1))/two;
  total_cell%=mod;
  return (total_cell*A)%mod;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -