Downloading Queries
CodeChefOpen on judge ↗
It was a frustated day in college.So, After coming back to the hostel anu made a plan to watch some movies.She puts N movies on downloading each of size a[i] and downloading speed b[i].Now her brother has assign a task to anu that she has to tell him which movie will download first and in last.So, you have to help Anu in finding the index of the minimum and maximum time that any of the movie will
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