분류 전체보기
-
삼각형과 세 변 in Python문제위의 그림과 같이 육각형으로 이루어진 벌집이 있다. 그림에서 보는 바와 같이 중앙의 방 1부터 시작해서 이웃하는 방에 돌아가면서 1씩 증가하는 번호를 주소로 매길 수 있다. 숫자 N이 주어졌을 때, 벌집의 중앙 1에서 N번 방까지 최소 개수의 방을 지나서 갈 때 몇 개의 방을 지나가는지(시작과 끝을 포함하여)를 계산하는 프로그램을 작성하시오. 예를 들면, 13까지는 3개, 58까지는 5개를 지난다.입력 데이터첫째 줄에 N(1 ≤ N ≤ 1,000,000,000)이 주어진다.입력 예13출력 데이터입력으로 주어진 방까지 최소 개수의 방을 지나서 갈 때 몇 개의 방을 지나는지 출력한다.출력 예3해결 방법1에서 시작하여 4시 방향으로 대각선의 수를 나열해보면 아래와 같음1, ..
[BAEKJOON ONLINE JUDGE 2292번] 벌집삼각형과 세 변 in Python문제위의 그림과 같이 육각형으로 이루어진 벌집이 있다. 그림에서 보는 바와 같이 중앙의 방 1부터 시작해서 이웃하는 방에 돌아가면서 1씩 증가하는 번호를 주소로 매길 수 있다. 숫자 N이 주어졌을 때, 벌집의 중앙 1에서 N번 방까지 최소 개수의 방을 지나서 갈 때 몇 개의 방을 지나가는지(시작과 끝을 포함하여)를 계산하는 프로그램을 작성하시오. 예를 들면, 13까지는 3개, 58까지는 5개를 지난다.입력 데이터첫째 줄에 N(1 ≤ N ≤ 1,000,000,000)이 주어진다.입력 예13출력 데이터입력으로 주어진 방까지 최소 개수의 방을 지나서 갈 때 몇 개의 방을 지나는지 출력한다.출력 예3해결 방법1에서 시작하여 4시 방향으로 대각선의 수를 나열해보면 아래와 같음1, ..
2025.02.04 -
삼각형과 세 변 in Python문제삼각형의 세 변의 길이가 주어질 때 변의 길이에 따라 다음과 같이 정의한다.Equilateral : 세 변의 길이가 모두 같은 경우Isosceles : 두 변의 길이만 같은 경우Scalene : 세 변의 길이가 모두 다른 경우단 주어진 세 변의 길이가 삼각형의 조건을 만족하지 못하는 경우에는 "Invalid" 를 출력한다. 예를 들어 6, 3, 2가 이 경우에 해당한다. 가장 긴 변의 길이보다 나머지 두 변의 길이의 합이 길지 않으면 삼각형의 조건을 만족하지 못한다.세 변의 길이가 주어질 때 위 정의에 따른 결과를 출력하시오.입력 데이터각 줄에는 1,000을 넘지 않는 양의 정수 3개가 입력된다. 마지막 줄은 0 0 0이며 이 줄은 계산하지 않는다.입력 예7 7 76 ..
[BAEKJOON ONLINE JUDGE 5073번] 삼각형과 세 변삼각형과 세 변 in Python문제삼각형의 세 변의 길이가 주어질 때 변의 길이에 따라 다음과 같이 정의한다.Equilateral : 세 변의 길이가 모두 같은 경우Isosceles : 두 변의 길이만 같은 경우Scalene : 세 변의 길이가 모두 다른 경우단 주어진 세 변의 길이가 삼각형의 조건을 만족하지 못하는 경우에는 "Invalid" 를 출력한다. 예를 들어 6, 3, 2가 이 경우에 해당한다. 가장 긴 변의 길이보다 나머지 두 변의 길이의 합이 길지 않으면 삼각형의 조건을 만족하지 못한다.세 변의 길이가 주어질 때 위 정의에 따른 결과를 출력하시오.입력 데이터각 줄에는 1,000을 넘지 않는 양의 정수 3개가 입력된다. 마지막 줄은 0 0 0이며 이 줄은 계산하지 않는다.입력 예7 7 76 ..
2025.02.04 -
이번에는 CVPR 2023에 게재된 논문인 ocus On Details: Online Multi-object Tracking with Diverse Fine-grained Representation를 읽고, 리뷰해보고자 합니다.Index1. Background 1.1. Triplet Loss2. Abstract3. Introduction4. Related Work5. Method 5.1. Overview 5.2. Flow Aligned FPN 5.3. Multi-head Part Mask Generator 5.4. Train and Inference6. Experiment7. Conclusion 1. Background1.1. Triplet Loss Triplet Loss1. ..
[리뷰] Focus On Details: Online Multi-object Tracking with Diverse Fine-grained Representation이번에는 CVPR 2023에 게재된 논문인 ocus On Details: Online Multi-object Tracking with Diverse Fine-grained Representation를 읽고, 리뷰해보고자 합니다.Index1. Background 1.1. Triplet Loss2. Abstract3. Introduction4. Related Work5. Method 5.1. Overview 5.2. Flow Aligned FPN 5.3. Multi-head Part Mask Generator 5.4. Train and Inference6. Experiment7. Conclusion 1. Background1.1. Triplet Loss Triplet Loss1. ..
2024.12.31 -
Introduction to Pandas¶Pandas provide two convenient data structures for storing and manipulating data--Series and DataFrame. A Series is similar to a one-dimensional array whereas a DataFrame is more similar to representing a matrix or a spreadsheet table.In [1]: import numpy as npfrom pandas import Seriesfrom pandas import DataFrameimport pandas as pd%matplotlib inline Series¶A Series ..
Pandas TutorialIntroduction to Pandas¶Pandas provide two convenient data structures for storing and manipulating data--Series and DataFrame. A Series is similar to a one-dimensional array whereas a DataFrame is more similar to representing a matrix or a spreadsheet table.In [1]: import numpy as npfrom pandas import Seriesfrom pandas import DataFrameimport pandas as pd%matplotlib inline Series¶A Series ..
2024.11.03 -
Introduction to Numpy¶Numpy, which stands for numerical Python, is a Python library package to support numerical computations. The basic data structure in numpy is a multi-dimensional array object called ndarray. Numpy provides a suite of functions that can efficiently manipulate elements of the ndarray.To see the reference manualHelp → Numpy Referenceor https://docs.scipy.org/doc/num..
Numpy TutorialIntroduction to Numpy¶Numpy, which stands for numerical Python, is a Python library package to support numerical computations. The basic data structure in numpy is a multi-dimensional array object called ndarray. Numpy provides a suite of functions that can efficiently manipulate elements of the ndarray.To see the reference manualHelp → Numpy Referenceor https://docs.scipy.org/doc/num..
2024.11.03 -
Visualizing Data¶Two primary uses for data visualization:¶To explore dataTo communicate dataData visualization is a rich field of study that deserves its own book.In [1]: import numpy as npfrom collections import Counterimport randomimport matplotlib.pyplot as plt%matplotlib inline matplotlib¶Widely usedGood for simple bar charts, line charts, and scatterplotsmatplotlib.pyplot moduleIn [..
Visualizing DataVisualizing Data¶Two primary uses for data visualization:¶To explore dataTo communicate dataData visualization is a rich field of study that deserves its own book.In [1]: import numpy as npfrom collections import Counterimport randomimport matplotlib.pyplot as plt%matplotlib inline matplotlib¶Widely usedGood for simple bar charts, line charts, and scatterplotsmatplotlib.pyplot moduleIn [..
2024.11.03 -
A Crash Cource in Python¶The Basics¶Whitespace Formatting¶Many languages use curly braces to delimit blocks of code. Python uses indentation:In [1]: for i in [1, 2, 3, 4, 5]: print(i) for j in [1, 2, 3, 4, 5]: print(j) print(i + j) print(i)print("done looping") 1122334455612132435465723142536475834152637485945162738495105done loopingWhitespace is ignored in..
Crash Cource in PythonA Crash Cource in Python¶The Basics¶Whitespace Formatting¶Many languages use curly braces to delimit blocks of code. Python uses indentation:In [1]: for i in [1, 2, 3, 4, 5]: print(i) for j in [1, 2, 3, 4, 5]: print(j) print(i + j) print(i)print("done looping") 1122334455612132435465723142536475834152637485945162738495105done loopingWhitespace is ignored in..
2024.11.03 -
1. 개요Linear Algebra with Applications (8th Edition)의 Chapter 6. Eigenvalues 부분을 정리한 내용입니다. 악필인부분 양해 부탁드립니다. 2. 내용
Ch06. Eigenvalues1. 개요Linear Algebra with Applications (8th Edition)의 Chapter 6. Eigenvalues 부분을 정리한 내용입니다. 악필인부분 양해 부탁드립니다. 2. 내용
2024.11.03 -
1. 개요Linear Algebra with Applications (8th Edition)의 Chapter 5. Orthogonality 부분을 정리한 내용입니다. 악필인부분 양해 부탁드립니다. 2. 내용
Ch05. Orthogonality1. 개요Linear Algebra with Applications (8th Edition)의 Chapter 5. Orthogonality 부분을 정리한 내용입니다. 악필인부분 양해 부탁드립니다. 2. 내용
2024.11.03 -
1. 개요Linear Algebra with Applications (8th Edition)의 Chapter 4. Linear Transformations 부분을 정리한 내용입니다. 악필인부분 양해 부탁드립니다. 2. 내용
Ch04. Linear Transformations1. 개요Linear Algebra with Applications (8th Edition)의 Chapter 4. Linear Transformations 부분을 정리한 내용입니다. 악필인부분 양해 부탁드립니다. 2. 내용
2024.11.03 -
1. 개요Linear Algebra with Applications (8th Edition)의 Chapter 3. Vector Spaces 부분을 정리한 내용입니다. 악필인부분 양해 부탁드립니다. 2. 내용
Ch03. Vector Spaces1. 개요Linear Algebra with Applications (8th Edition)의 Chapter 3. Vector Spaces 부분을 정리한 내용입니다. 악필인부분 양해 부탁드립니다. 2. 내용
2024.11.03 -
1. 개요Linear Algebra with Applications (8th Edition)의 Chapter 2. Determinants 부분을 정리한 내용입니다. 악필인부분 양해 부탁드립니다. 2. 내용
Ch02. Determinants1. 개요Linear Algebra with Applications (8th Edition)의 Chapter 2. Determinants 부분을 정리한 내용입니다. 악필인부분 양해 부탁드립니다. 2. 내용
2024.11.03