일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 배열 섞기
- solutions of matrix equation
- python
- 코틀린 Hello World!
- nontrivial solution
- 코틀린 시작하기
- recursive algorithms
- linear dependence
- Big-Oh notation
- matrix trnasformations
- 빅오 표기법
- Big Theta
- Big Omega
- 이진 탐색
- itertools
- Big-Oh 예제
- trivial solution
- one-to-one
- matrix-vector product
- 빅오메가
- matrix fo a linear transformation
- 알고리즘 분석의 실례
- 빅세타
- 재귀함수
- 랜덤 순서 배열
- NumPy
- homogeneous linear system
- Big-O 예제
- 일차변환
- nonhomogeneous linear system
- Today
- Total
코딩 연습
문제는 다음과 같다. In the card game poker, a hand consists of five cards and are ranked, from lowest to highest, in the following way: High Card: Highest value card.One Pair: Two cards of the same value.Two Pairs: Two different pairs.Three of a Kind: Three cards of the same value.Straight: All cards are consecutive values.Flush: All cards of the same suit.Full House: Three of a kind and a pair.Four of ..
얼마전에 project euler 라는 사이트를 알게 되었고, 프로그래밍 연습도 할 겸 해서 한 문제씩 풀고 있다. 재미있게 여러 가지 연습을 해 볼 수 있어서 좋다고 생각한다. 대부분의 문제가 간단하게 풀리지만 어떤 경우는 오랜 시간 생각을 많이 해야만 풀리는 문제도 있는데, 51번 문제가 그러했다. 프로젝트 오일러 사이트에서 다른 사람들을 위해서 정답을 공개하지는 말라는 당부가 있었기에 여기서는 문제를 풀기 위한 힌트를 제공하려고 한다. 51번 문제는 다음과 같다. By replacing the 1st digit of the 2-digit number *3, it turns out that six of the nine possible values: 13, 23, 43, 53, 73, and 83, a..