← All problemsSign in

Los Pollos Hermanos

CodeChefRating 2187Open on judge ↗

_"I hide in plain sight, just as you"_. Gus Fring has earned a huge profit from Los Pollos Hermanos and he wishes to celebrate. He loves watching horse-riding, hence he bought $N$ horses. One day he organizes a horse-riding competition to celebrate the deal with Don Eladio. There are $N$ horses taking part in the competition with speeds of $A$$1$$,$ $A$$2$$,$ $...,$ $A$$N$ respectively. It is gi

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start