본문 바로가기
python-algorithm

codeforces 339A - Helpful Maths

by 무적김두칠 2022. 4. 29.
1
2
3
4
5
s=sorted(list(map(int, input().split('+'))))
ans=str(s[0])
for i in range(1len(s)):
    ans+='+%d'%(s[i])
print(ans)
cs

 

반응형

'python-algorithm' 카테고리의 다른 글

codeforces 520A - Pangram  (0) 2022.04.29
codeforces 1328A - Divisibility Problem  (0) 2022.04.29
Codeforces 734A - Anton and Danik  (0) 2022.04.29
codeforces 41A - Translation  (0) 2022.04.28
codeforces 59A - Word  (0) 2022.04.28

댓글