분류 전체보기
-
[Python] python설치Programming/Python 2021. 11. 8. 12:19
1. python 공식 홈페이지에서 최신 버전의 python 설치 패키지를 다운로드합니다. Download Python | Python.org Download Python The official home of the Python Programming Language www.python.org OS 환경에 맞는 패키지를 다운로드합니다. 2. Python installer를 실행합니다. "Add Python 3.10 to Path" 항목을 선택하면 환경 변수에 python path 를 설정하게 됩니다. 선택하지 않아도 되지만 python.exe를 바로 사용하지 않고 외부 툴을 이용해서 개발하는 경우 외부에서 python을 사용하기 위해서는 path설정이 되어있어야 합니다. 여기서 설정하지 않아도 '제어판>시..
-
[프로그래머스] 가장 먼 노드 c++Coding Test/programmers 2021. 11. 3. 16:32
문제 설명 n개의 노드가 있는 그래프가 있습니다. 각 노드는 1부터 n까지 번호가 적혀있습니다. 1번 노드에서 가장 멀리 떨어진 노드의 갯수를 구하려고 합니다. 가장 멀리 떨어진 노드란 최단경로로 이동했을 때 간선의 개수가 가장 많은 노드들을 의미합니다. 노드의 개수 n, 간선에 대한 정보가 담긴 2차원 배열 vertex가 매개변수로 주어질 때, 1번 노드로부터 가장 멀리 떨어진 노드가 몇 개인지를 return 하도록 solution 함수를 작성해주세요. 제한 사항 노드의 개수 n은 2 이상 20,000 이하입니다. 간선은 양방향이며 총 1개 이상 50,000개 이하의 간선이 있습니다. vertex 배열 각 행 [a, b]는 a번 노드와 b번 노드 사이에 간선이 있다는 의미입니다. 입출력 예 n vert..
-
[Go] Golang 시작하기 2 (Visual Studio Code 세팅)Programming/Go 2021. 10. 19. 15:37
Golang을 사용하려고 할 때 여러가지 편집 툴을 확인 할 수 있습니다. 저는 그 중에서 Visual Studio Code로 Golang을 사용하려고 합니다. 사용하기 위해서 Visual Studio Code에 Golang을 세팅해봅시다! Visual Studio Code실행 전! 1. cmd에서 미리 Go 실행 파일을 설치하거나 2. Visual Studio Code에서 Go파일 생성 후 install하라고 경고 메시가 뜨면 install버튼을 눌러 설치하는 방법 두가지가 있습니다. 1번 방법은 아래 링크 걸어놨습니다~ 참고해서 설치하면 됩니다. [Go] Go 실행 파일 설치 ( go get ~ -> go install ~) 1. go get Golang을 다운로드 받고 실행 파일을 설치하려고 할 때..
-
Visual Studio Code 설치하기 (Windows 10)Programming/Setup 2021. 10. 19. 14:22
Visual Studio Code를 설치해봅시다~ https://code.visualstudio.com/ Visual Studio Code - Code Editing. Redefined Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. code.visualstudio.com 먼저 Visual Studio Code를 다운로드 합니다. OS에 따라 설치 패키지를 선택하여 다..
-
[Go] Go 실행 파일 설치 ( go get ~ -> go install ~)Programming/Go 2021. 10. 19. 12:20
1. go get Golang을 다운로드 받고 실행 파일을 설치하려고 할 때 "go get golang.org/x/tools/cmd/... " 명령어를 사용해서 설치하라는 정보가 많이 나올겁니다. 저도 검색해가면서 설치해서 처음에는 go get~ 을 사용해서 실행 파일을 설치했습니다. 설치 파일이 다운로드는 됬지만 마지막에 go get: installing executables with 'go get' in module mode is deprecated. Use 'go install pkg@version' instead. For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go..
-
[Go] Golang 시작하기 1 ( go1.17.2 설치 )Programming/Go 2021. 10. 19. 10:43
Golang 을 사용하기 전에 먼저 해야할일! Golang을 설치해봅시다. https://golang.org/dl/ Downloads - The Go Programming Language Downloads After downloading a binary release suitable for your system, please follow the installation instructions. If you are building from source, follow the source installation instructions. See the release history for more information about Go releases golang.org 자신의 OS 환경에 따라 선택해주면 됩니다. ..