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
- Python
- 인프콘 2024
- 1주일회고
- 단기개발자코스
- DesignPattern
- 커스텀 헤더
- 99클럽
- 디자인 패턴
- jwt
- jwttoken
- 구글 OAuth login
- 코딩테스트 준비
- 빈 충돌
- JavaScript
- 항해99
- Spring multimodule
- KPT회고
- 빈 조회 2개 이상
- 디자인패턴
- TiL
- 개발자부트캠프추천
- 프로그래머스 이중우선순위큐
- infcon 2024
- @FeignClient
- 파이썬
- 프로그래머스
- 취업리부트코스
- 개발자 취업
- 전략패턴 #StrategyPattern #디자인패턴
- spring batch 5.0
Archives
- Today
- Total
목록백준 #1406 # (1)
m1ndy5's coding blog
[자료구조] 백준 1406번 에디터 with Python
https://www.acmicpc.net/problem/1406 왜 이문제가 실버 2일까~~ 했더니만 역시나 시간초과!!ㅎㅎ import sys s = sys.stdin.readline().rstrip() c = len(s) n = int(sys.stdin.readline().rstrip()) for i in range(n): com = sys.stdin.readline().rstrip() if ' ' in com: com, letter = com.split() if com == 'L': if c != 0: c -= 1 elif com == 'D': if c != len(s): c += 1 elif com == 'B': if c != 0: c -..
알고리즘 with python/자료구조
2023. 3. 22. 11:48