Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 분할메모리할당
- 리덕스장바구니
- CPU 스케줄링
- Operating System
- error
- Java
- 프로그래머스
- OS
- react
- 백준
- web
- 공부
- Spring
- js to ts
- 정렬
- Redux
- codeup
- 코드업
- memory
- 일상
- 기초100제
- 파이썬
- 알고리즘
- 스프링
- C++
- 자료구조
- 타입스크립트
- react-redux
- 협업
- 토이프로젝트
Archives
- Today
- Total
목록14888 (1)
감자튀김 공장🍟
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dQN8D8/btrVeVxw8Ft/PcFKRLUvG1gKayIyJd6o8k/img.png)
✔ 문제 ✔ 풀이 import sys input = sys.stdin.readline n = int(input()) nums = list(map(int, input().split())) op = list(map(int, input().split())) minRes, maxRes = int(1e9), -int(1e9) res = nums[0] # 첫번째 숫자 뒤 부터 연산자와 숫자가 나오기 때문 def dfs(idx): global res global minRes, maxRes if idx == n: if res maxRes: maxRes = res return for i in range(4): temp = res if op[i] > 0: if i ..
Algorithm/BOJ
2023. 1. 4. 14:03