Physical Examination solution codechef

Physical Examination solution codechef Polycarp plans to undergo a full physical examination at his local clinic. There are n doctors, numbered from 1 to n. The i-th doctor takes patients from minute Li to minute Ri, so Polycarp can visit him at any minute in this range. It takes Continue reading Physical Examination solution codechef