Vaibhav and his DP
CodeChefOpen on judge ↗
Vaibhav wants to change his DP on Instagram. Now Instagram has some restrictions over the size of photos that we can upload. The minimum size of the photo can be $(L * L)$, where L is the length of the side of the square. Now Vaibhav has N photos of different sizes. Size of a photo is denoted as $(W * H)$ where $W$ - width of the photo and $H$ - Height of the photo When any photo is uploaded fol
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