Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Revisions

3 of 3
Commonmark migration

Python 2, (削除) 81 (削除ここまで) 72 bytes

a,b=sorted(input(),key=len)
for c in a:b=b.replace(c,"",1)
print a+"_"+b

Try it online

mbomb007
  • 23.6k
  • 7
  • 66
  • 143

AltStyle によって変換されたページ (->オリジナル) /