Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Fluid Dynamics
- Crank-Nicolson
- Fluids
- Boundary Layers
- 우선순위큐
- Laminar
- Compressible Flow
- 회귀
- 이중우선순위큐
- Blasius
- FTCS
- 디스크 컨트롤러
- Heat Equation
- 통계학
- Statistics
- python3
- 힙
- regression
- Python
- 프로젝트오일러
- heap
- projecteuler
- 유체역학
- programmers
- Finite Difference Method
- 프로그래머스
- 예제
- Turbulent
- Navier-Stokes
- 파이썬
Archives
- Today
- Total
Sudal's Garage
Project Euler 13 본문
Question:
Work out the first ten digits of the sum of the following one-hundred 50-digit numbers.
문제:
다음 50자리의 수 100개의 합의 첫 10자리를 구하여라.
Solution:
1 2 3 | b = a.split('\n') b.remove('') print(sum(list(map(int,b))) // 10e41) | cs |
a 에 수가 저장되어있다.
'Programming > Project Euler - python' 카테고리의 다른 글
Project Euler 15 (0) | 2019.03.03 |
---|---|
Project Euler 14 (0) | 2019.03.02 |
Project Euler 12 (0) | 2019.02.27 |
Project Euler 11 (0) | 2019.02.26 |
Project Euler 10 (0) | 2019.02.16 |