250x250
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
- SQL 고득점 Kit
- css
- 파이썬
- 코딩테스트 연습
- 백준
- 프로그래머스
- sql
- map
- Join
- List Comprehension
- Python3
- html
- 설계
- 슬라이싱
- 데이터
- pcce 기출문제
- date_format
- Len
- python
- where
- GIT
- 프로젝트
- YOLOv5
- ORDER BY
- Django
- 파이썬 슬라이싱
- count
- 단어 공부
- 아이엠어바텐더
- 파이썬 몫
Archives
- Today
- Total
목록1316번 (1)
nan + nan = 2nan
[백준][Python3] #1316. 그룹 단어 체커
코드 입력 test_case = int(input()) cnt = 0 for _ in range(1, test_case+1): test_ = input() val_word = [] before_alphabet = '' while True: if len(test_) >= 2: if test_[0] not in val_word: val_word.append(test_[0]) before_alphabet = test_[0] test_ = test_[1:] elif test_[0] not in val_word: val_word.append(test_[0]) before_alphabet = test_[0] test_ = test_[1:] elif test_[0] in val_word and before_alpha..
Python/백준 알고리즘
2023. 1. 16. 19:51