Easy10 pts
Birthday Cake Candles
You are in charge of the cake. n candles: heights. Only the tallest can be blown. How many are tallest?
Input
Line 1: n. Line 2: n space-separated integers (heights).
Output
Count of the tallest candles.
Sample
4 3 2 1 3
Expected
2
Loading editor…
Output
No output yet. Run your code to see results.