using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; public class Test { public static void Main() { new Test().T(); } void T(){ ActionC=Console.WriteLine;FuncR=Console.ReadLine; var w=new List(); for(var l=R();l!="";l=R())w.Add(l); var s=w.OrderBy(_=>Guid.NewGuid()).Take(10).ToList(); s.ForEach(x=>C("=> "+x)); var t=s.Select(x=>x.Length).Sum(); var c=Stopwatch.StartNew(); while(s.Any()){C(s.Remove(R())?"OK":"WRONG");} c.Stop(); C("--> You have scored "+c.Elapsed.TotalSeconds*60/t+" CPM!"); } }