Notice
Recent Posts
Recent Comments
Link
«   2025/09   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Tags
more
Archives
Today
Total
관리 메뉴

하루에 하나씩 공부하기

[해커랭크 Aggregation] Weather Observation Station 18 본문

카테고리 없음

[해커랭크 Aggregation] Weather Observation Station 18

dltaexox 2025. 9. 13. 08:59

- 문제

맨하튼 거리 구하기

Weather Observation Station 18 | HackerRank

 

Weather Observation Station 18 | HackerRank

Query the Manhattan Distance between two points, round or truncate to 4 decimal digits.

www.hackerrank.com

 

- 키포인트

없음

 

- 쿼리

SELECT ROUND(ABS(MAX(LAT_N)-MIN(LAT_N))+ABS(MAX(LONG_W)-MIN(LONG_W)),4)
FROM STATION;