Skip to content

Commit fe1ee55

Browse files
committed
[BOJ] #11656. 접미사 배열 / 실버4 / 3분 / 성공
1 parent 01fbfbb commit fe1ee55

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.DS_Store

0 Bytes
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import sys
2+
input = sys.stdin.readline
3+
4+
S = input().strip()
5+
suffix = []
6+
for i in range(len(S)):
7+
suffix.append(S[i:])
8+
suffix.sort()
9+
for word in suffix:
10+
print(word)

0 commit comments

Comments
 (0)