재오니소스의 저장공간

  • 홈
  • 방명록

프로젝트오일러 3

[Algorithm/C] Project Euler. 10001st prime

Click to download. By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.What is the 10 001st prime number? If a good upper bound for the target prime is known in advance, using a sieve of Eratosthenes is a much more efficient method. Some useful facts:1 is not a prime.All primes except 2 are odd.All primes greater than 3 can be written in the form ...

Computer Science/Algorithm 2017.12.12

[Algorithm/C] Project Euler. Even Fibonacci Numbers

Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 1, the first 10 terms will be:1, 1, 2, 3, 5, 8, 13, 21, 34, 55, ...By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms. #include int Fibonacci(int n); int main(int argc, char * argv[]){int sum = 0;int i=0; for(..

Computer Science/Algorithm 2017.11.29

[Algorithm/C] Project Euler. Multiple of 3 and 5

Problem 1If 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. #include int main(int argc, char * argv[]){int sum=0;int i; for(i=1; i

Computer Science/Algorithm 2017.11.27
1
더보기
  • 분류 전체보기 (88)
    • 초보 조사의 조행기 (1)
    • 프로 지갑전사의 맛집탐방 (2)
    • 반려묘 (2)
      • Marron (2)
    • Electrical & Electronic Eng.. (4)
      • Communication (4)
    • Computer Science (73)
      • Algorithm (73)

Tag

아날로그, 통신, C, 코딩, 그리디, Algorithm, 최소공배수, BOJ, 신호, 알고리즘, 재오니소스, 오일러, 프로젝트오일러, 통신공학, DP, 프로그래밍, Greedy, 배열, 1dp, 백준,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • 안녕하세요

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • 더피 The.P 너에게 주는 요리

티스토리툴바