본문으로 바로가기

광's의 IT 이야기

현재위치 :: HOME BLOG CATEGORY SEARCH ARCHIVE TAGS MEDIA LOCATION GUESTBOOK

네비게이션

  • 홈
  • 태그
  • 방명록
관리자
  • 블로그 이미지
    낭강

    링크추가
  • 글쓰기
  • 환경설정
  • 로그인
  • 로그아웃

Algorithm/자료구조 검색 결과

해당 글 12건

[백준] 알고리즘 C++ 1874번 - 스택 수열문제

문제 https://www.acmicpc.net/problem/1874 1874번: 스택 수열 1부터 n까지에 수에 대해 차례로 [push, push, push, push, pop, pop, push, push, pop, push, push, pop, pop, pop, pop, pop] 연산을 수행하면 수열 [4, 3, 6, 8, 7, 5, 2, 1]을 얻을 수 있다. www.acmicpc.net 소스코드 #include #include #include #include using namespace std; stack st; vector v; int main() { ios_base::sync_with_stdio(false), cin.tie(NULL); int n,cnt=1; cin >> n; for (in..

Algorithm/자료구조 2021. 10. 10. 15:51

[백준] 알고리즘 C++ 1654번 - 랜선 자르기문제

문제 https://www.acmicpc.net/problem/1654 1654번: 랜선 자르기 첫째 줄에는 오영식이 이미 가지고 있는 랜선의 개수 K, 그리고 필요한 랜선의 개수 N이 입력된다. K는 1이상 10,000이하의 정수이고, N은 1이상 1,000,000이하의 정수이다. 그리고 항상 K ≦ N 이다. 그 www.acmicpc.net 소스코드 #include #include #include #include using namespace std; long long arr[10001]; int k, n; void binnary_search() { long long left = 1, right = LLONG_MAX-1; long long max = 0; while (left max) { max = m..

Algorithm/자료구조 2021. 10. 10. 14:25
  • 이전
  • 1
  • 2
  • 다음

사이드바

NOTICE

  • [알고리즘] 스터디 모집합니다.
  • 전체 보기
MORE+

CATEGORY

  • 분류 전체보기 (246)
    • Algorithm (214)
      • 구현 (4)
      • brute force (27)
      • bfs (7)
      • dynamic programming (33)
      • math (13)
      • graph (21)
      • greedy (6)
      • tree (1)
      • 정리 (9)
      • 코테정리 (11)
      • 자료구조 (12)
      • programmers (2)
    • Programming (20)
      • javascript (1)
      • nodejs (7)
      • github (6)
      • others (1)
      • 자격증 (1)
      • ssafy (1)
    • BlockChain (12)
      • 뉴스 (9)

RECENTLY

  • 최근 글
  • 최근 댓글

최근 글

최근댓글

Trackback

TAG

  • DP
  • 비트코인
  • 그래프
  • 다이나믹프로그래밍
  • 코테
  • 백준
  • 다이나믹 프로그래밍
  • 순열
  • 브루트포스
  • 알고리즘
  • DFS
  • BFS
  • 수학
  • 구현
  • 정렬
MORE+

ARCHIVE

CALENDAR

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

LINK

VISITOR

오늘
어제
전체
  • 홈으로
  • 방명록
  • 로그인
  • 로그아웃
  • 맨위로
SKIN BY COPYCATZ COPYRIGHT 광's의 IT 이야기, ALL RIGHT RESERVED.
광's의 IT 이야기
블로그 이미지 낭강 님의 블로그
MENU
  • 홈
  • 태그
  • 방명록
CATEGORY
  • 분류 전체보기 (246)
    • Algorithm (214)
      • 구현 (4)
      • brute force (27)
      • bfs (7)
      • dynamic programming (33)
      • math (13)
      • graph (21)
      • greedy (6)
      • tree (1)
      • 정리 (9)
      • 코테정리 (11)
      • 자료구조 (12)
      • programmers (2)
    • Programming (20)
      • javascript (1)
      • nodejs (7)
      • github (6)
      • others (1)
      • 자격증 (1)
      • ssafy (1)
    • BlockChain (12)
      • 뉴스 (9)
VISITOR 오늘 / 전체
  • 글쓰기
  • 환경설정
  • 로그인
  • 로그아웃
  • 취소

검색

티스토리툴바