fork(1) download
  1. using System;
  2. using System.Collections.Generic;
  3.  
  4. public class Test
  5. {
  6. static void Main(string[] args)
  7. {
  8. string inp;
  9. var lst = new List<string>();
  10. while (!string.IsNullOrEmpty((inp = Console.ReadLine())))
  11. lst.AddRange(inp.Split(' '));
  12.  
  13. lst.Sort((s1, s2) => s2.Length - s1.Length);
  14. Console.WriteLine(string.Join(" ", lst));
  15. }
  16. }
Success #stdin #stdout 0s 29664KB
stdin
This post was made to the 4chan technology board called /g/
What is /g/'s favorite language?
install gentoo

stdout
technology language? favorite install called gentoo /g/'s board 4chan post made This What /g/ was the to is