Submission #654742

# Submission time Handle Problem Language Result Execution time Memory
654742 2022-11-01T12:26:16 Z Sam_a17 Hexagonal Territory (APIO21_hexagon) C++14
0 / 100
1 ms 212 KB
#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 time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -