일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- Blasius
- Crank-Nicolson
- 회귀
- 파이썬
- Finite Difference Method
- 힙
- FTCS
- Fluid Dynamics
- Statistics
- 통계학
- Compressible Flow
- Boundary Layers
- python3
- 유체역학
- heap
- Python
- Fluids
- 프로젝트오일러
- 우선순위큐
- regression
- Heat Equation
- 예제
- 디스크 컨트롤러
- Laminar
- Turbulent
- projecteuler
- 프로그래머스
- 이중우선순위큐
- programmers
- Navier-Stokes
- Today
- Total
목록Programming (59)
Sudal's Garage
Question: The prime factors of 13195 are 5, 7, 13 and 29.What is the largest prime factor of the number 600851475143 ?문제:어떤 수를 소수의 곱으로만 나타내는 것을 소인수분해라 하고, 이 소수들을 그 수의 소인수라고 합니다. 예를 들면 13195의 소인수는 5, 7, 13, 29 입니다.600851475143의 소인수 중에서 가장 큰 수를 구하세요. Solution:1234567891011121314151617from math import sqrt primes = set([2])value = 3number = 600851475143while value
Question: Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms.문제:피보나치 수열의 각 항은 바로 앞의 항 두 개를 더한 것이 됩니다. 1과 2로 시작하는 경우 이 수열은 아래와 같습니다.1, 2, 3, 5..
Question: If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.Find the sum of all the multiples of 3 or 5 below 1000.문제:0보다 작은 자연수 중에서 3 또는 5의 배수는 3, 5, 6, 9 이고, 이것을 모두 더하면 23입니다.1000보다 작은 자연수 중에서 3 또는 5의 배수를 모두 더하면 얼마일까요? Solution: 1234567a = set() for i in range(1000): if i % 3 == 0 or i % 5 == 0: a.add(i) print(sum(a..