일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Crank-Nicolson
- Fluids
- 디스크 컨트롤러
- 유체역학
- Laminar
- FTCS
- 프로젝트오일러
- Turbulent
- heap
- programmers
- 우선순위큐
- Blasius
- Boundary Layers
- 통계학
- regression
- Heat Equation
- Statistics
- Python
- 이중우선순위큐
- 예제
- projecteuler
- Fluid Dynamics
- python3
- Compressible Flow
- 파이썬
- 힙
- Navier-Stokes
- 프로그래머스
- 회귀
- Finite Difference Method
- Today
- Total
목록Programming/Project Euler - python (45)
Sudal's Garage
Question: The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.Find the sum of all the primes below two million.문제:10 이하의 소수들의 합은 2 + 3 + 5 + 7 = 17이다.2백만 이하의 소수들의 총합을 구하여라. Solution: 1234567891011from sympy import isprimeimport timei = 1start = time.time()sum = 0while i
Question: A Pythagorean triplet is a set of three natural numbers, a
Question: The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832.73167176531330624919225119674426574742355349194934 96983520312774506326239578318016984801869478851843 85861560789112949495459501737958331952853208805511 12540698747158523863050715693290963295227443043557 66896648950445244523161731856403098711121722383113 622298934233803081353362766..
Question: The sum of the squares of the first ten natural numbers is,12 + 22 + ... + 102 = 385The square of the sum of the first ten natural numbers is,(1 + 2 + ... + 10)2 = 552 = 3025Hence the difference between the sum of the squares of the first ten natural numbers and the square of the sum is 3025 − 385 = 2640.Find the difference between the sum of the squares of the first one hundred natura..
Question: 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?문제:1 ~ 10 사이의 어떤 수로도 나누어 떨어지는 가장 작은 수는 2520입니다.그러면 1 ~ 20 사이의 어떤 수로도 나누어 떨어지는 가장 작은 수는 얼마입니까? Solution: 1print(1 * 2 * 3 * 2 * 5 * 7 * 2 * 3 * 11 * 13 * 2 * 17 * 19)cs 설명도 필요없는 간단한 수학문제..