Submission #1130683

#TimeUsernameProblemLanguageResultExecution timeMemory
1130683vibeduckRadio Towers (IOI22_towers)C++20
0 / 100
278 ms1036 KiB
#include "towers.h" #include <vector> int ans = 1; 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 = 2; return; } int max_towers(int L, int R, int D) { return ans; }
#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...