We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I think the confusing problem about the values of (a,b) and (c,d) when saying the values corresponding to min, max of lat_n and min, max of long_w. Readers will easily understand it as a = min(lat_n), b = max(lat_n), c = min(long_w), d = max(long_w). While to get the correct result for this problem, we need a = min(lat_n), b = min(long_w), c = max(lat_n), d = max(long_w)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 19
You are viewing a single comment's thread. Return to all comments →
I think the confusing problem about the values of (a,b) and (c,d) when saying the values corresponding to min, max of lat_n and min, max of long_w. Readers will easily understand it as a = min(lat_n), b = max(lat_n), c = min(long_w), d = max(long_w). While to get the correct result for this problem, we need a = min(lat_n), b = min(long_w), c = max(lat_n), d = max(long_w)