Highest Visitors
CodeChefOpen on judge ↗
Nova is given the number of visitors at her local Beach Resort during New year Month on $N$ consecutive days. The number of visitors on the $i^{th}$ day is $a_{i}$. A day has Highest visitors if it satisfies the following conditions: - The number of visitors on the day is strictly larger than the number of visitors on each of the previous days. - The number of visitors on the day is strictly
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start