White spots
CodeChefOpen on judge ↗
Chef yank is dealing with a certain type of envelopes. Before he sends it out to his juniors in BITSACM, he needs to check a few things. These envelopes come with a shape that is a rectangle in the centre and corresponding semicircles on each side of the rectangle. Given the dimensions of the rectangle are AxB, A is length, B is width and both are integers. One side of the envelope is painted in
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