| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 소수판별
- 그리디 알고리즘
- unity
- JPA
- C#강의
- appendleft
- spring
- c#
- 프로그래머스
- 인프런
- BFS
- 누적합
- 백준
- Java
- pypy3
- deque
- 완전탐색
- 브루투포스
- popleft
- 파이썬
- DP
- mvc
- 우선순위큐
- 1일1솔
- Python
- LCM
- 합 구하기
- 소수찾기
- python3
- 연관관계
- Today
- Total
목록전체 글 (139)
jae_coding
문제 문제 링크 코드 import sys input = sys.stdin.readline a, b, c, m = map(int, input().split()) tired, day, work = 0, 0, 0 while day < 24: day += 1 if tired + a
문제 문제 링크 코드 import sys input = sys.stdin.readline n = int(input()) place = list(map(int, input().split())) sum_place = sum(place) # bee bee honey b_b_h = 0 bee = place[0] for i in range(1, n): bee += place[i] first_bee = sum_place - place[0] - place[i] # 첫번째 벌이 먹는 꿀의 양 second_bee = sum_place - bee # 두번째 벌이 먹는 꿀의 양 b_b_h = max(b_b_h, first_bee + second_bee) # honey bee bee h_b_b = 0 place.reverse..
문제 문제 링크 코드 import sys input = sys.stdin.readline input_string = list("A" + input().strip()) count = 0 min_result = "" max_result = "" # max_val for i in range(len(input_string)): c = input_string[i] if c == 'M': count += 1 if input_string[i-1] == 'M': min_result += "0" else: min_result += "1" elif c == 'K': min_result += "5" if count == 0: max_result += "5" else: max_result += str(5 * 10 ** cou..