Position
CodeChefOpen on judge ↗
Naruto has changed to new school recently. But he hates the morning assembly of the school, so he would like to stand as back as possible in the class line. Being new to class he conducted a survey and passed a paper among all student of the class to mention their height, so that he could determine his position in the line(Note: All the student stand in increasing order of their height during morn
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