재오니소스의 저장공간

  • 홈
  • 방명록

오일러 3

[Algorithm/C] Project Euler. Largest prime factor

The prime factors of 13195 are 5, 7, 13 and 29.What is the largest prime factor of the number 600851475143 ? #include int main(int argc, char* argv[]){long long number = 600851475143;int i; for(i=2; i

Computer Science/Algorithm 2017.12.02

[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

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • 안녕하세요

페이스북 트위터 플러그인

  • 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 너에게 주는 요리

티스토리툴바