Chef and College Admisison
CodeChefOpen on judge ↗
Chef recently got the result of the entrance test for his bachelor’s degree and is confused which college he will get. Now, Chef wants an help to know the college which he may get on the basis of previous closing rank of college. You are given a list of $closing$ $ranks$ (inclusive) of each college for last year. Your task is to predict the college number which Chef may get on the basi
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