#include "towers.h"
#include <vector>
int ans = 0;
void init(int N, std::vector<int> H) {
if (N == 1) return;
if (N == 2) return;
if (H[0] > H[1] || H[N - 2] < H[N - 1]) return;
ans = 3;
return;
}
int max_towers(int L, int R, int D) {
return 3;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |