딩동댕 코딩유치원

  • 홈
  • 태그
  • 방명록

usaco feb 1

[Python] 백준 31649번 Milk Exchange

문제https://www.acmicpc.net/problem/31649입력The first line contains N and M.The second line contains a string s1s2…sNs_1s_2\ldots s_Ns1​s2​…sN​ consisting solely of the characters ‘L’ or ‘R’, denoting the direction each cow will pass their milk in.The third line contains integers a1,a2,…,aNa_1, a_2, \ldots, a_Na1​,a2​,…,aN​, the capacities of each bucket.출력Output an integer, the sum of milk among a..

Algorithm/Simulation 2024.10.12
이전
1
다음
더보기
프로필사진

  • 분류 전체보기 (241)
    • Algorithm (179)
      • BFS&DFS (23)
      • Greedy (15)
      • Simulation (35)
      • Sort (8)
      • Binary Search (7)
      • Dynamic Programming (16)
      • Dijkstra (14)
      • Broute Force (8)
      • Stack & Queue (10)
      • BackTracking (3)
      • Prefix Sum (0)
      • 백준 (34)
      • 프로그래머스 (6)
    • 스파르타 코딩클럽 (31)
      • 1주차 (8)
      • 2주차 (5)
      • 3주차 (12)
      • 4주차 (5)
      • 5주차 (1)
    • 개발 (13)
      • C# (2)
      • Xamarin (4)
      • Spring (2)
      • DB (4)
      • 사내교육 (1)
    • Automotive (17)
      • C (3)
      • Autosar (5)
      • 환경설정 (1)
      • Testing (5)
      • Automation (2)
      • Functional Safety (1)

Tag

다이나믹 프로그래밍, 백준 그리디, pccp 기출문제, 이것이 코딩테스트다 with 파이썬, 스택, 데이크스트라 알고리즘, BFS/DFS, 브루트포스 알고리즘, 그리디 알고리즘, 이코테 with 파이썬, swea 1215번 파이썬, 이진탐색 알고리즘, 다익스트라 알고리즘, autosar, 포인터, 그래프 탐색 알고리즘, 정렬 알고리즘, 이진탐색 파이썬, BFS, 백준,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

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

방문자수Total

  • Today :
  • Yesterday :

Copyright © AXZ Corp All rights reserved.

티스토리툴바