본문 바로가기

connecting the dots

검색하기
connecting the dots
프로필사진 林 :

  • 분류 전체보기 (60)
    • data structure (8)
    • network (10)
      • wireless (10)
      • computer network (0)
    • system (5)
      • concepts (3)
      • linux (0)
      • cloud (2)
    • algorithm (33)
      • BOJ (26)
      • SWEA (7)
      • JUNGOL (0)
    • language (2)
      • Java (2)
    • record (2)
      • 면접 (2)
      • 일기 (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   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
Tags
  • 2573
  • SSAFY 면접 후기
  • 자바
  • 클라우드
  • ofdma
  • OFDM
  • Read Replica
  • AWS 개념 정리
  • 백준
  • SSAFY
  • LTE
  • SSAFY 광주
  • 빙산
  • AWS RDS
  • Multi AZ
  • AWS
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록algorithm (33)

connecting the dots

[BOJ/C++] 2156번 : 포도주 시식

풀이 DP 사용. DP배열 N번째에 최대 양이 나오게 구현. 1. i번째 포도주를 먹고 i-1번째 포도주를 먹은 경우 2. i번째 포도주를 먹고 i-2번째 포도주를 먹은 경우 3. i번째 포도주를 먹지 않고 i-1번째 포도주를 먹은 경우 코드 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 #include #include #include using namespace std; int main(){ int n; int data[10001], dp[10001]; scanf("%d", &n); for(int i=1;i

algorithm/BOJ 2020. 11. 8. 17:06
이전 Prev 1 ··· 6 7 8 9 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바