add kotlin name into README.md & 잡 하나

This commit is contained in:
yenru0
2020-08-09 04:31:20 +09:00
parent 8a16d1af3a
commit 8223d988d9
2 changed files with 9 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ yenru0 code storage
C | C | .c C | C | .c
C++ | cpp | .cpp C++ | cpp | .cpp
Python | python | .py Python | python | .py
Kotlin | kotlin | .kt
## stdin.txt ## stdin.txt
코딩의 편리함을 위한 `stdin.txt`! 이것은 매우 중요 especially 쓰다 C로 because 나 not 편함 코딩의 편리함을 위한 `stdin.txt`! 이것은 매우 중요 especially 쓰다 C로 because 나 not 편함

View File

@@ -0,0 +1,8 @@
S = input()
MAX = '~'*len(S)
for i in range(1,len(S)-1):
for j in range(i+1, len(S)):
first, second, last = S[:i][::-1], S[i:j][::-1], S[j:][::-1]
if first + second + last < MAX:
MAX = first + second + last
print(MAX)