Help in number theory problem
Elevator Problem — https://www.hackerearth.com/challenges/competitive/pycon-2020/algorithm/weird-elavator-16b959a3-5b558ef9/
Can someone help me to find approach for this problem. TIA.
Full text and comments »