일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- matrix trnasformations
- 알고리즘 분석의 실례
- matrix fo a linear transformation
- 코틀린 시작하기
- linear dependence
- 빅세타
- Big Omega
- 코틀린 Hello World!
- 이진 탐색
- 빅오 표기법
- 배열 섞기
- python
- recursive algorithms
- one-to-one
- nonhomogeneous linear system
- 빅오메가
- matrix-vector product
- 재귀함수
- itertools
- 랜덤 순서 배열
- trivial solution
- homogeneous linear system
- Big Theta
- Big-Oh notation
- solutions of matrix equation
- NumPy
- Big-O 예제
- 일차변환
- Big-Oh 예제
- nontrivial solution
- Today
- Total
목록project euler with python (53)
코딩 연습
문제는 다음과 같다. Each character on a computer is assigned a unique code and the preferred standard is ASCII (American Standard Code for Information Interchange). For example, uppercase A = 65, asterisk (*) = 42, and lowercase k = 107. A modern encryption method is to take a text file, convert the bytes to ASCII, then XOR each byte with a given value, taken from a secret key. The advantage with the XO..
문제는 다음과 같다. 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..