Department Surfer
CodeChefOpen on judge ↗
The campus of VSSUT is rectangular in shape. Morever there are D departments in the campus numbered 1 through D which are in itself L-shaped. The width and length of ith department is Pi and Qi units respectively. Each rectangle i has a cut of Ri x Si units from top right corner (refer image). The blue part of the 2nd image represents the department. There is a student located at the top left co
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