Who is at kth position
CodeChefOpen on judge ↗
There are N teams who are solving a problem of Insomnia 2015 Qualifier. Every team has submitted a solution and got AC :) There are two things associated with each team, score S which they have got for successfully solving the problem, and a bonus M which is a score multiplier. You are given S and M for each team i. The net score of ith team is Si * Mi for 1 ≤ i ≤ N . You have been asked Q querie
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