fork(1) download
  1. using System;using System.Linq;
  2. using System.Collections.Generic;
  3. using System.Text.RegularExpressions;
  4. namespace Rextester
  5. { public class Program
  6. { public static void Main(string[] args)
  7. { Random rand = new Random();
  8. for (int i = 1; i < 55; i++)
  9. { double d = rand.Next(2);
  10. Console.WriteLine(Math.Ceiling(d));
  11. }}}}
Success #stdin #stdout 0.03s 16312KB
stdin
Standard input is empty
stdout
1
1
1
0
1
0
1
1
1
0
1
0
0
1
0
1
0
1
1
0
0
0
0
1
0
1
0
1
1
1
0
1
1
0
0
0
1
1
0
0
1
0
0
1
1
1
0
0
0
1
1
1
0
1