Company: Zeta_26june
Difficulty: medium
Zeta Grid Chef's Counter Problem Description In Zeta, renowned for its diverse array of streetside food vendors, one stands out above all others for its delectable offerings: the chef's counter! You're determined to find the counter, but its exact location remains a mystery. All you know is that it's situated at some street intersection in Zeta. Your intuition tells you that people from all corners of Zeta are converging towards that intersection. Thus, your task is to pinpoint the intersection where the highest number of people are heading. For this problem, Zeta is represented as a regular grid, with its axes aligned to cardinal directions and bounded between 0 and Q, inclusive, on each axis. West-east streets correspond to gridlines y = 0, y = 1, y = 2, ..., y = Q, while south-north streets correspond to gridlines x = 0, x = 1, x = 2, ..., x = Q. People move exclusively along these streets. Intersections occur where these lines meet, such as (0, 0) and (1, 2). The shortest distance