fork(1) download
  1. using System;
  2. using System.Diagnostics;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. System.Diagnostics.Stopwatch watch = new System.Diagnostics.Stopwatch();
  9. watch.Start();
  10. for(int i = 0; i <= 100000; i++)
  11. {
  12.  
  13. }
  14. watch.Stop();
  15.  
  16. Console.WriteLine("Time elapsed (ms): {0}", watch.Elapsed.TotalMilliseconds);
  17. }
  18. }
Success #stdin #stdout 0.03s 33944KB
stdin
Standard input is empty
stdout
Time elapsed (ms): 0.1575