• Skip to primary navigation
  • Skip to content
  • Skip to footer
Just Do IT!
  • Posts
  • Categories
  • Tags

    LeeDayday

    I am an amazing person.

    • Somewhere

    [백준 11650] 좌표 정렬하기

    최대 1 분 소요

    11650번 : 좌표 정렬하기

    11650: 좌표 정렬하기

    방법 1

    import sys
    input = sys.stdin.readline
    
    if __name__ == '__main__':
        n = int(input())
        graph = []
        for _ in range(n):
            graph.append(tuple(map(int, input().split())))
    
        graph.sort(key=lambda x : (x[0], x[1]))
    
        for i in range(n):
            print(graph[i][0], graph[i][1])
    

    태그: baekjoon

    카테고리: algorithms

    업데이트: July 30, 2023

    공유하기

    Twitter Facebook LinkedIn
    이전 다음

    참고

    DNS 이해하기

    최대 1 분 소요

    DNS란 무엇인가?

    [Leetcode] Rising Temperature

    최대 1 분 소요

    문제 링크

    [Leetcode] Customer Who Visited but Did Not Make Any Transactions

    최대 1 분 소요

    문제 링크

    [Leetcode] Replace Emplyee ID With The Unique Identifier

    최대 1 분 소요

    문제 링크

    • 팔로우:
    • 피드
    © 2025 LeeDayday. Powered by Jekyll & Minimal Mistakes.