Submission #1130682

#TimeUsernameProblemLanguageResultExecution timeMemory
1130682vibeduckRadio Towers (IOI22_towers)C++20
0 / 100
274 ms1036 KiB
#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 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...