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
- 데이터타입
- INT
- 2진수
- parseInt
- 알고리즘
- algorithm
- Python
- IntelliJ
- SaaS
- 문자열 숫자 변환
- PaaS
- 리스트
- 백준
- aws
- 프로그래머스
- 11652
- 최대공약수
- level1
- valueof
- 온프레미스
- 자료형
- 웹 서버
- 홀수
- 짝수
- 11004
- java
- IaaS
- 프로젝트 생성
- 유클리드 호제법
- 최대공배수
Archives
- Today
- Total
Ga0Lee
[알고리즘] 접미사 배열 백준 11656 (Python) 본문
코드
import sys
str = sys.stdin.readline().rstrip()
arr = []
for i in range(len(str)):
arr.append(str)
str = str[1:]
arr.sort()
for i in arr:
print(i)
입출력
'Algorithm' 카테고리의 다른 글
[알고리즘] 프로그래머스(Level1) - x만큼 간격이 있는 n개의 숫자(Java) (0) | 2022.06.06 |
---|---|
[알고리즘] 프로그래머스(Level 1) - 직사각형 별찍기(Java) (0) | 2022.06.05 |
[알고리즘] 네 수 백준 10824 (Python) (0) | 2022.01.17 |
[알고리즘] ROT13 백준 11655 (Python) (0) | 2022.01.17 |
[알고리즘] 단어 길이 재기 백준 2743 (Python) (0) | 2022.01.17 |