일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- SWEA 15612번
- 백준 2512번
- 그리디
- SQL
- AWS
- ubuntu
- 백준
- 알고리즘
- 백준 1987
- HUFS 모각코 캠프
- 백준 1253번
- 백준 18310번
- 모각코
- 백준 15787번
- 백준 3085번
- 깃헙
- 백준 1331번
- 자바
- 명품자바
- Python
- 그래프
- java_programming
- react
- 머신러닝과 딥러닝
- MySQL
- 다이나믹프로그래밍
- 백준 17451번
- 다이나믹 프로그래밍
- javascript
- 백준 16918번
Archives
- Today
- Total
목록백준 5430번 (1)
차곡차곡
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cGhsEm/btrQrtZzAdE/GtTYZM4mBXdMmS8yJA1Frk/img.png)
백준 #5430 AC 5430번: AC 각 테스트 케이스에 대해서, 입력으로 주어진 정수 배열에 함수를 수행한 결과를 출력한다. 만약, 에러가 발생한 경우에는 error를 출력한다. www.acmicpc.net from collections import deque import sys input = sys.stdin.readline t = int(input()) # 테이스트 케스 개수 for _ in range(t): order = input().strip() # 수행할 함수 n = int(input()) # 배열 안 수의 개수 arr = input().strip() if n == 0: arr = deque() else: arr = deque(arr[1:-1].split(',')) # 리스트 괄호 제거 -..
CS/Algorithm
2022. 11. 6. 10:41