at 17:27, it should be "find the segment with the farthest start point"
Kinda difficult to explain, let me know if you have any doubts
The code is explained in parts in between the solution.
0:00 Statement Explanation
3:10 Solution Explanation
30:00 Code Walkthrough
https://codeforces.com/contest/1834/submission/210081020
Download
0 formats
No download links available.
D. Survey in Class | Codeforces Round 879 (Div. 2) | NatokHD