Submission #1036917

#TimeUsernameProblemLanguageResultExecution timeMemory
1036917XJP12Radio Towers (IOI22_towers)C++17
0 / 100
398 ms1368 KiB
#include <bits/stdc++.h> #include "towers.h" using namespace std; typedef long long ll; typedef vector<int> vi; vi heights; void init(int n, vi h) { heights=h; } int max_towers(int l, int r, int d) { int ans=0; if(d==1){ if(r-l<3){ ans=0; }else{ ans=r-l+1; } } 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...