Submission #934678

# Submission time Handle Problem Language Result Execution time Memory
934678 2024-02-27T19:14:07 Z MinaRagy06 Hexagonal Territory (APIO21_hexagon) C++17
0 / 100
0 ms 512 KB
#include <bits/stdc++.h>
#ifdef MINA
#include "grader.cpp"
#endif
#include "hexagon.h"
using namespace std;
#define ll long long

const int mod = 1e9 + 7;
int draw_territory(int n, int a, int b, vector<int> d, vector<int> l) {
	int sz = l[0];
	return 1ll * sz * (sz + 1) / 2 % mod * 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 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 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 512 KB Output isn't correct
2 Halted 0 ms 0 KB -