trier strings par taille

roronoa Aug 24th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. t=[]
  2. for(i=readline();i;i--,t[i]=readline()){}
  3. t.sort((a,b)=>a.length-b.length)
  4. t.forEach(a=>print(a))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand